https://github.com/swissgrc/docker-azure-pipelines-packer
🐳 Docker image for running Packer commands in an Azure Pipelines container job
https://github.com/swissgrc/docker-azure-pipelines-packer
azure-cli azure-devops azure-pipelines docker hacktoberfest packer
Last synced: 17 days ago
JSON representation
🐳 Docker image for running Packer commands in an Azure Pipelines container job
- Host: GitHub
- URL: https://github.com/swissgrc/docker-azure-pipelines-packer
- Owner: swissgrc
- License: mit
- Created: 2023-04-10T08:44:24.000Z (about 2 years ago)
- Default Branch: develop
- Last Pushed: 2025-03-04T16:02:13.000Z (about 2 months ago)
- Last Synced: 2025-03-28T08:11:35.366Z (about 1 month ago)
- Topics: azure-cli, azure-devops, azure-pipelines, docker, hacktoberfest, packer
- Language: Dockerfile
- Homepage: https://hub.docker.com/r/swissgrc/azure-pipelines-packer
- Size: 66.4 KB
- Stars: 2
- Watchers: 1
- Forks: 0
- Open Issues: 1
-
Metadata Files:
- Readme: README.md
- License: LICENSE
- Codeowners: .github/CODEOWNERS
Awesome Lists containing this project
README
# Docker image for running Packer commands in Azure Pipelines container job
[](https://github.com/swissgrc/docker-azure-pipelines-packer/blob/main/LICENSE) [](https://github.com/swissgrc/docker-azure-pipelines-packer/actions/workflows/publish.yml) [](https://sonarcloud.io/summary/new_code?id=swissgrc_docker-azure-pipelines-packer) [](https://hub.docker.com/r/swissgrc/azure-pipelines-packer) [](https://hub.docker.com/r/swissgrc/azure-pipelines-packer)
Docker image to run Packer commands in [Azure Pipelines container jobs].
## Usage
This image can be used to run Packer commands in [Azure Pipelines container jobs].
### Azure Pipelines Container Job
To use the image in an Azure Pipelines Container Job, add one of the following example tasks and use it with the `container` property.
The following example shows the container used for a deployment step with a Packer command
```yaml
- stage: deploy
jobs:
- deployment: buildPacker
container: swissgrc/azure-pipelines-packer:latest
environment: smarthotel-dev
strategy:
runOnce:
deploy:
steps:
- bash: |
packer build .
```## Included Software
- [swissgrc/azure-pipelines-azurecli:net9](https://github.com/swissgrc/docker-azure-pipelines-azurecli-net9) as base image
- Packer## Tags
| Tag | Description | Size |
|----------|-------------------------------------------------------|---------------------------------------------------------------------------------------------------------------------------------|
| latest | Latest stable release (from `main` branch) |  |
| unstable | Latest unstable release (from `develop` branch) |  |
| x.y.z | Image for a specific version of Packer | |[Azure Pipelines container jobs]: https://docs.microsoft.com/en-us/azure/devops/pipelines/process/container-phases