Container image with tools for interacting with Azure.
This image is built upon quay.io/cloudnativetoolkit/cli-tools-core which has common tools for interacting with cloud environments, including terraform, terragrunt, kubectl and oc clis.
This image adds the following:
- azure cli
The build automation pushes the built container image to quay.io/cloudnativetoolkit/cli-tools-azure
The floating image tags use the following convention:
latest
- the latest alpine version of the image (currently terraform v1.2)alpine
- the latest alpine version of the image (currently terraform v1.2)fedora
- the latest fedora version of the image (currently terraform v1.2)v1.2
- the latest alpine version of the image using terraform v1.2v1.1
- the latest alpine version of the image using terraform v1.1v1.0
- the latest alpine version of the image using terraform v1.0v1.2-alpine
- the latest alpine version of the image using terraform v1.2v1.1-alpine
- the latest alpine version of the image using terraform v1.1v1.0-alpine
- the latest alpine version of the image using terraform v1.0v1.2-fedora
- the latest fedora version of the image using terraform v1.2v1.1-fedora
- the latest fedora version of the image using terraform v1.1v1.0-fedora
- the latest fedora version of the image using terraform v1.0
Each release within the repository corresponds to a pinned image tag that will never be moved to another image. The pinned tags use the following naming convention:
{terraform version}-{release tag}-{base OS image}
where:
{terraform version}
- is the major and minor version of the terraform cli (e.g. v1.1){release tag}
- is the release tag for this repository (e.g. v1.0.0){base OS image}
- is the base OS image (alpine
orfedora
)
For example:
v1.1-v1.0.0-alpine
The image can be used by referring to the image url. The following can be used to run the container image interactively:
docker run -it quay.io/cloudnativetoolkit/cli-tools-azure
To build the default image using the latest version of terraform on alpine, run the following:
docker build -t cli-tools-azure .
The terraform version can be changed by passing the TERRAFORM_VERSION
as a build arg. For example:
docker build --build-arg TERRAFORM_VERSION=v1.1 -t cli-tools-azure:v1.1 .
The base OS can be changed by using the Dockerfile-fedora
file. For example:
docker build -f Dockerfile-fedora -t cli-tools-azure:fedora .