Sign inSign up

puckd/terraform-azure

By puckd

•Updated over 6 years ago

Docker container to hold terraform and Azure CLI binaries.

Image
0

118

puckd/terraform-azure repository overview

⁠Terraform-Azure

Docker Build

Docker container which has the latest terraform version and azure cli installed. This is for Linux AMD64.

⁠Usage

Set an alias to run the Azure CLI commands inside the docker container, ex:

alias az="docker run -u $(id -u):$(id -g) -v ${HOME}/.azure:/home/az/.azure -e HOME=/home/az --rm -it puckd/terraform-azure:0.1 az"
az login

You'll need to login once, or if you have Azure CLI installed on your machine already you can share those files with the container, will work either way.

⁠Why?

When I install Azure CLI on my machine it wants to install python36, I managed my python versions with pyenv, thought it's best to keep it separate.

Tag summary

Content type

Image

Digest

Size

200.2 MB

Last updated

over 6 years ago

docker pull puckd/terraform-azure:0.2