/azure-pulumi

Provides a docker image that can interact with Azure via Pulumi

Primary LanguageDockerfileMIT LicenseMIT

Azure + Pulumi

Build Docker Pulls MIT Licence

This repository contains the dockerfile to create an image with Pulumi and the Azure CLI installed

The main use for this is to ready-bake the installation so that we can run our Pulumi projects against Azure

Currently, this image is hosted on Dockerhub

Prerequisites

How to build image

docker build .

Example of usage

Here's an example dockerfile that uses the image

FROM scottam/az-pulumi:latest

COPY . .

CMD "az login --service-principal -u "$ARM_CLIENT_ID" --password "$ARM_CLIENT_SECRET" --tenant "$ARM_TENANT_ID" && \
 pulumi version"

Exploring the contents of the image

Open it up! Take a look

docker run -it scottam/az-pulumi:latest bash