|
| 1 | +[](https://microbadger.com/images/zenika/terraform-azure-cli) |
| 2 | + |
1 | 3 | # Terraform and Azure CLI Docker image |
2 | | -Container image including Azure and Terraform CLI tools, build with Docker. |
| 4 | +Docker Image including Azure and Terraform CLI tools. |
| 5 | + |
| 6 | +## Availables Docker image tags |
| 7 | +Repository available on the Docker Hub: [zenika/terraform-azure-cli](https://hub.docker.com/r/zenika/terraform-azure-cli) |
| 8 | +* zenika/terraform-azure-cli:latest - latest image build on master branch |
| 9 | +* zenika/terraform-azure-cli:vX.Y - versionned image build on specific repository tag |
3 | 10 |
|
4 | 11 | ## Motivation |
5 | | -Many Docker image including the Terraform and Azure CLI exist out there both on the Docker Hub and Github, but they all are quite oversized (600+ Mo). |
| 12 | +Many Docker images including the Terraform and Azure CLI already exist out there, both on the Docker Hub and Github. |
| 13 | +But they all are quite oversized. |
| 14 | + |
| 15 | +The goal is to create a functional, minimalist and lightweight image with these tools in order to reduce network and storage impact. |
| 16 | + |
| 17 | +## What's inside ? |
| 18 | +This image uses [Debian Stretch](https://hub.docker.com/_/debian) as a base. |
| 19 | + |
| 20 | +Tools included: |
| 21 | + |
| 22 | +* Azure CLI **v2.0.64** |
| 23 | +* Terraform CLI **v0.11.13** |
6 | 24 |
|
7 | | -The goal is to create a functionnal, minimalist and lightweight image with these tools in order to reduce network impact. |
| 25 | +<p align="center"> |
| 26 | + <a href="https://azure.microsoft.com"><img width="200" src="resources/azure-logo.png"></a> |
| 27 | + <a href="https://www.terraform.io/"><img width="200" src="resources/terraform-logo.png"></a> |
| 28 | +</p> |
8 | 29 |
|
9 | 30 | ## Usage |
10 | 31 |
|
11 | | -### Build |
| 32 | +### Launch the CLI |
| 33 | +Simply launch the container and use the CLI as you would on any other platform: |
12 | 34 | ```bash |
13 | | -./scripts/build.sh |
| 35 | +docker container run -it --rm zenika/terraform-azure-cli |
14 | 36 | ``` |
| 37 | + |
| 38 | +> The `--rm` flag will completely destroy the container and its data on exit. |
| 39 | +
|
| 40 | +### Build the image |
| 41 | +Build the image locally directly from the Dockerfile: |
| 42 | +```bash |
| 43 | +docker image build -t zenika/terraform-azure-cli . |
| 44 | +``` |
| 45 | + |
| 46 | +## Roadmap & Contributions |
| 47 | +Please refer to the [github project](https://github.com/Zenika/terraform-azure-cli/projects/1) to track new features. |
| 48 | + |
| 49 | +Do not hesitate to contribute by [filling an issue](https://github.com/Zenika/terraform-azure-cli/issues) or [a PR](https://github.com/Zenika/terraform-azure-cli/pulls) ! |
0 commit comments