https://github.com/scott-the-programmer/az-pulumi
Provides a docker image that can interact with Azure via Pulumi
https://github.com/scott-the-programmer/az-pulumi
Last synced: 5 months ago
JSON representation
Provides a docker image that can interact with Azure via Pulumi
- Host: GitHub
- URL: https://github.com/scott-the-programmer/az-pulumi
- Owner: scott-the-programmer
- License: mit
- Created: 2020-04-10T05:56:40.000Z (over 5 years ago)
- Default Branch: master
- Last Pushed: 2020-11-30T05:01:22.000Z (over 4 years ago)
- Last Synced: 2024-12-29T12:42:10.654Z (7 months ago)
- Language: Dockerfile
- Size: 8.79 KB
- Stars: 0
- Watchers: 2
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# Azure + Pulumi


This repository contains the dockerfile to create an image with [Pulumi](https://www.pulumi.com/) and the [Azure CLI](https://docs.microsoft.com/en-us/cli/azure/?view=azure-cli-latest) 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](https://hub.docker.com/repository/docker/scottam/az-pulumi)
## Prerequisites
* [Docker](https://docs.docker.com/get-docker/)
## How to build image
```bash
docker build .
```## Example of usage
Here's an example dockerfile that uses the image
```dockerfile
FROM scottam/az-pulumi:latestCOPY . .
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
```bash
docker run -it scottam/az-pulumi:latest bash
```