{"id":19228578,"url":"https://github.com/bgauduch/terraform-azure-cli","last_synced_at":"2026-04-30T08:05:04.225Z","repository":{"id":42364667,"uuid":"186833872","full_name":"zenika-open-source/terraform-azure-cli","owner":"zenika-open-source","description":"Minimal \u0026 lightweight docker image including Azure and Terraform CLI","archived":false,"fork":false,"pushed_at":"2024-03-02T08:59:32.000Z","size":142,"stargazers_count":33,"open_issues_count":31,"forks_count":36,"subscribers_count":7,"default_branch":"master","last_synced_at":"2025-04-01T08:01:53.483Z","etag":null,"topics":["azure","azure-cli","azurecli","docker","docker-image","dockerfile","hacktoberfest","terraform","terraform-cli"],"latest_commit_sha":null,"homepage":"https://hub.docker.com/r/zenika/terraform-azure-cli","language":"Dockerfile","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"apache-2.0","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/zenika-open-source.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":"LICENSE","code_of_conduct":"CODE_OF_CONDUCT.md","threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":"supported_versions.json","governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null}},"created_at":"2019-05-15T13:37:43.000Z","updated_at":"2024-03-15T02:21:59.000Z","dependencies_parsed_at":"2024-03-01T14:47:06.497Z","dependency_job_id":"6fa602db-c73e-427c-9dc7-0b36c3ba025f","html_url":"https://github.com/zenika-open-source/terraform-azure-cli","commit_stats":{"total_commits":73,"total_committers":14,"mean_commits":5.214285714285714,"dds":0.273972602739726,"last_synced_commit":"3d8ebd5b3810314e64610acd4fb6d46e6b9ebe70"},"previous_names":["zenika/terraform-azure-cli"],"tags_count":16,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/zenika-open-source%2Fterraform-azure-cli","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/zenika-open-source%2Fterraform-azure-cli/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/zenika-open-source%2Fterraform-azure-cli/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/zenika-open-source%2Fterraform-azure-cli/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/zenika-open-source","download_url":"https://codeload.github.com/zenika-open-source/terraform-azure-cli/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":249982573,"owners_count":21355722,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":["azure","azure-cli","azurecli","docker","docker-image","dockerfile","hacktoberfest","terraform","terraform-cli"],"created_at":"2024-11-09T15:29:07.390Z","updated_at":"2026-04-30T08:05:03.355Z","avatar_url":"https://github.com/zenika-open-source.png","language":"Dockerfile","funding_links":[],"categories":[],"sub_categories":[],"readme":"[![lint-dockerfile](https://github.com/zenika-open-source/terraform-azure-cli/actions/workflows/lint-dockerfile.yml/badge.svg)](https://github.com/zenika-open-source/terraform-azure-cli/actions/workflows/lint-dockerfile.yml)\n[![build-test](https://github.com/zenika-open-source/terraform-azure-cli/actions/workflows/build-test.yml/badge.svg)](https://github.com/zenika-open-source/terraform-azure-cli/actions/workflows/build-test.yml)\n[![push-latest](https://github.com/zenika-open-source/terraform-azure-cli/actions/workflows/push-latest.yml/badge.svg)](https://github.com/zenika-open-source/terraform-azure-cli/actions/workflows/push-latest.yml)\n[![release](https://github.com/zenika-open-source/terraform-azure-cli/actions/workflows/release.yml/badge.svg)](https://github.com/zenika-open-source/terraform-azure-cli/actions/workflows/release.yml)\n\n[![Update Docker Hub Description](https://github.com/zenika-open-source/terraform-azure-cli/actions/workflows/dockerhub-description.yml/badge.svg)](https://github.com/zenika-open-source/terraform-azure-cli/actions/workflows/dockerhub-description.yml)\n[![License](https://img.shields.io/badge/License-Apache%202.0-blue.svg)](https://opensource.org/licenses/Apache-2.0)\n[![Docker Pulls](https://img.shields.io/docker/pulls/zenika/terraform-azure-cli.svg)](https://hub.docker.com/r/zenika/terraform-azure-cli/)\n\n\u003cp align=\"center\"\u003e\n  \u003ca href=\"https://azure.microsoft.com\"\u003e\u003cimg width=\"200\" src=\"https://github.com/Zenika/terraform-azure-cli/raw/master/resources/azure-logo.png\"\u003e\u003c/a\u003e\n  \u003ca href=\"https://www.terraform.io/\"\u003e\u003cimg width=\"200\" src=\"https://github.com/Zenika/terraform-azure-cli/raw/master/resources/terraform-logo.png\"\u003e\u003c/a\u003e\n\u003c/p\u003e\n\n# Terraform and Azure CLI Docker image\n\n## 📦 Supported tags and respective Dockerfile links\nAvailable image tags can be found on the Docker Hub registry: [zenika/terraform-azure-cli](https://hub.docker.com/r/zenika/terraform-azure-cli/tags)\n\nSupported versions are listed in the [`supported_versions.json` ](https://github.com/zenika-open-source/terraform-azure-cli/blob/master/supported_versions.json) file in project root folder.\n\nThe following image tag strategy is applied:\n* `zenika/terraform-azure-cli:latest` - build from master\n  * Included CLI versions are the newest in the [`supported_versions.json` ](https://github.com/zenika-open-source/terraform-azure-cli/blob/master/supported_versions.json) file.\n* `zenika/terraform-azure-cli:release-S.T_terraform-UU.VV.WW_azcli-XX.YY.ZZ` - build from releases\n  * `release-S.T` is the release tag\n  * `terraform-UU.VV.WWW` is the included **Terraform CLI** version\n  * `azcli-XX.YY.ZZ` is the included **Azure CLI** version\n\nPlease report to the [releases page](https://github.com/zenika-open-source/terraform-azure-cli/releases) for the changelogs.\n\n\u003e Any other tags are not supported even if available.\n\n## 💡 Motivation\nThe goal is to create a **minimalist** and **lightweight** image with these tools in order to reduce network and storage impact.\n\nThis image gives you the flexibility to be used either for development or as a base image as you see fits.\n\n## 🔧 What's inside ?\n\n* [Azure CLI](https://docs.microsoft.com/cli/azure/?view=azure-cli-latest):\n* [Terraform CLI](https://www.terraform.io/docs/commands/index.html):\n* [Git](https://git-scm.com/)\n* [Python 3](https://www.python.org/)\n* This image use a non root user with a GID and UID of 1001 to conform with docker security best practices.\n\n## 🚀 Usage\n\n### 🐚 Launch the CLI\nSimply launch the container and use the CLI as you would on any other platform, for instance using the latest image:\n\n```bash\ndocker container run -it --rm --mount type=bind,source=\"$(pwd)\",target=/workspace zenika/terraform-azure-cli:latest\n```\n\n\u003e The `--rm` flag will completely destroy the container and its data on exit.\n\n### ⚙️ Build the image\nYou can build the image locally directly from the Dockerfile, using the build script.\n\nIt will :\n* Lint the Dockerfile with [Hadolint](https://github.com/hadolint/hadolint);\n* Build and tag the image `zenika/terraform-azure-cli:dev`;\n* Execute [container structure tests](https://github.com/GoogleContainerTools/container-structure-test) on the image.\n\n```bash\n# launch dev script using latest supported versions for both Azure and Terraform CLI\n./dev.sh\n```\n\nOptionally, it is possible to choose the tools desired versions:\n\n```bash\n# Set desired tool versions\nAZURE_CLI_VERSION=2.24.2\nTERRAFORM_VERSION=0.15.5\n\n# launch dev script with parameters\n./dev.sh $AZURE_CLI_VERSION $TERRAFORM_VERSION\n```\n\n## 🙏 Roadmap \u0026 Contributions\nPlease refer to the [github project](https://github.com/zenika-open-source/terraform-azure-cli/projects/1) to track new features.\n\nDo not hesitate to contribute by [filling an issue](https://github.com/zenika-open-source/terraform-azure-cli/issues/new) or [opening a PR](https://github.com/zenika-open-source/terraform-azure-cli/pulls) !\n\n## ⬆️ Dependencies upgrades checklist\n\n* Supported versions:\n  * check **Azure CLI** version on the [project release page](https://github.com/Azure/azure-cli/releases)\n  * check **Terraform CLI** version (keep all minor versions from 0.11) available on the [project release page](https://github.com/hashicorp/terraform/releases)\n* Dockerfile:\n  * check **base image** version [on DockerHub](https://hub.docker.com/_/debian?tab=tags\u0026page=1\u0026name=bookworm)\n  * check **OS package** versions on Debian package repository\n    * Available **Git** versions on the [Debian Packages repository](https://packages.debian.org/search?suite=bookworm\u0026arch=any\u0026searchon=names\u0026keywords=git)\n    * Available **Python** versions on the [Debian packages repository](https://packages.debian.org/search?suite=bookworm\u0026arch=any\u0026searchon=names\u0026keywords=python3)\n    * same process for **all other packages**\n  * check **Pip package** versions on [pypi](https://pypi.org/)\n* Github actions:\n  * check [runner version](https://github.com/actions/virtual-environments#available-environments)\n  * check **each action release** versions\n* Build scripts:\n  * check **container tags**:\n    * [Hadolint releases](https://github.com/hadolint/hadolint/releases)\n    * [Container-structure-test](https://github.com/GoogleContainerTools/container-structure-test/releases)\n* Readme:\n  * update version in code exemples\n\n## 🚩 Similar repositories\n\n* For AWS: [zenika-open-source/terraform-aws-cli](https://github.com/zenika-open-source/terraform-aws-cli)\n\n## 📖 License\nThis project is under the [Apache License 2.0](https://github.com/zenika-open-source/terraform-azure-cli/blob/master/LICENSE)\n\n[![with love by zenika](https://img.shields.io/badge/With%20%E2%9D%A4%EF%B8%8F%20by-Zenika-b51432.svg)](https://oss.zenika.com)\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fbgauduch%2Fterraform-azure-cli","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fbgauduch%2Fterraform-azure-cli","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fbgauduch%2Fterraform-azure-cli/lists"}