Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
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: about 7 hours 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 (over 1 year ago)
- Default Branch: develop
- Last Pushed: 2024-11-11T08:13:53.000Z (5 days ago)
- Last Synced: 2024-11-11T09:20:57.250Z (5 days ago)
- Topics: azure-cli, azure-devops, azure-pipelines, docker, hacktoberfest, packer
- Language: Dockerfile
- Homepage: https://hub.docker.com/r/swissgrc/azure-pipelines-packer
- Size: 58.6 KB
- Stars: 2
- Watchers: 2
- 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
[![License](https://img.shields.io/badge/license-MIT-blue.svg?style=flat-square)](https://github.com/swissgrc/docker-azure-pipelines-packer/blob/main/LICENSE) [![Build](https://img.shields.io/github/actions/workflow/status/swissgrc/docker-azure-pipelines-packer/publish.yml?branch=develop&style=flat-square)](https://github.com/swissgrc/docker-azure-pipelines-packer/actions/workflows/publish.yml) [![Quality Gate Status](https://sonarcloud.io/api/project_badges/measure?project=swissgrc_docker-azure-pipelines-packer&metric=alert_status)](https://sonarcloud.io/summary/new_code?id=swissgrc_docker-azure-pipelines-packer) [![Pulls](https://img.shields.io/docker/pulls/swissgrc/azure-pipelines-packer.svg?style=flat-square)](https://hub.docker.com/r/swissgrc/azure-pipelines-packer) [![Stars](https://img.shields.io/docker/stars/swissgrc/azure-pipelines-packer.svg?style=flat-square)](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].
The following software is additionally available in the image:
| Software | Included since |
|------------|----------------|
| Azure Cli | 1.8.6 |
| Git | 1.8.6 |
| .NET | 1.8.6 |
| Docker CLI | 1.8.6 |### 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 .
```### Tags
| Tag | Description | Base Image | Packer | Size |
|----------|---------------------------------------------------------------------------------|-----------------------------------------------|--------|---------------------------------------------------------------------------------------------------------------------------------|
| latest | Latest stable release (from `main` branch) | swissgrc/azure-pipelines-azurecli:2.64.0-net8 | 1.11.2 | ![Docker Image Size (tag)](https://img.shields.io/docker/image-size/swissgrc/azure-pipelines-packer/latest?style=flat-square) |
| unstable | Latest unstable release (from `develop` branch) | swissgrc/azure-pipelines-azurecli:2.66.0-net8 | 1.11.2 | ![Docker Image Size (tag)](https://img.shields.io/docker/image-size/swissgrc/azure-pipelines-packer/unstable?style=flat-square) |
| 1.8.6 | [Packer 1.8.6](https://github.com/hashicorp/packer/releases/tag/v1.8.6) | swissgrc/azure-pipelines-azurecli:2.46.0 | 1.8.6 | ![Docker Image Size (tag)](https://img.shields.io/docker/image-size/swissgrc/azure-pipelines-packer/1.8.6?style=flat-square) |
| 1.8.7 | [Packer 1.8.7](https://github.com/hashicorp/packer/releases/tag/v1.8.7) | swissgrc/azure-pipelines-azurecli:2.48.1 | 1.8.7 | ![Docker Image Size (tag)](https://img.shields.io/docker/image-size/swissgrc/azure-pipelines-packer/1.8.7?style=flat-square) |
| 1.9.0 | [Packer 1.9.0](https://github.com/hashicorp/packer/releases/tag/v1.9.0) | swissgrc/azure-pipelines-azurecli:2.49.0 | 1.9.0 | ![Docker Image Size (tag)](https://img.shields.io/docker/image-size/swissgrc/azure-pipelines-packer/1.9.0?style=flat-square) |
| 1.9.1 | [Packer 1.9.1](https://github.com/hashicorp/packer/releases/tag/v1.9.1) | swissgrc/azure-pipelines-azurecli:2.50.0-net6 | 1.9.1 | ![Docker Image Size (tag)](https://img.shields.io/docker/image-size/swissgrc/azure-pipelines-packer/1.9.1?style=flat-square) |
| 1.9.2 | [Packer 1.9.2](https://github.com/hashicorp/packer/releases/tag/v1.9.2) | swissgrc/azure-pipelines-azurecli:2.50.0-net6 | 1.9.2 | ![Docker Image Size (tag)](https://img.shields.io/docker/image-size/swissgrc/azure-pipelines-packer/1.9.2?style=flat-square) |
| 1.9.3 | [Packer 1.9.3](https://github.com/hashicorp/packer/releases/tag/v1.9.3) | swissgrc/azure-pipelines-azurecli:2.50.0-net6 | 1.9.3 | ![Docker Image Size (tag)](https://img.shields.io/docker/image-size/swissgrc/azure-pipelines-packer/1.9.3?style=flat-square) |
| 1.9.4 | [Packer 1.9.4](https://github.com/hashicorp/packer/releases/tag/v1.9.4) | swissgrc/azure-pipelines-azurecli:2.51.0-net6 | 1.9.4 | ![Docker Image Size (tag)](https://img.shields.io/docker/image-size/swissgrc/azure-pipelines-packer/1.9.4?style=flat-square) |
| 1.10.0 | [Packer 1.10.0](https://github.com/hashicorp/packer/releases/tag/v1.10.0) | swissgrc/azure-pipelines-azurecli:2.55.0-net6 | 1.10.0 | ![Docker Image Size (tag)](https://img.shields.io/docker/image-size/swissgrc/azure-pipelines-packer/1.10.0?style=flat-square) |
| 1.10.1 | [Packer 1.10.1](https://github.com/hashicorp/packer/releases/tag/v1.10.1) | swissgrc/azure-pipelines-azurecli:2.56.0-net8 | 1.10.1 | ![Docker Image Size (tag)](https://img.shields.io/docker/image-size/swissgrc/azure-pipelines-packer/1.10.1?style=flat-square) |
| 1.10.2 | [Packer 1.10.2](https://github.com/hashicorp/packer/releases/tag/v1.10.2) | swissgrc/azure-pipelines-azurecli:2.57.0-net8 | 1.10.2 | ![Docker Image Size (tag)](https://img.shields.io/docker/image-size/swissgrc/azure-pipelines-packer/1.10.2?style=flat-square) |
| 1.10.3 | [Packer 1.10.3](https://github.com/hashicorp/packer/releases/tag/v1.10.3) | swissgrc/azure-pipelines-azurecli:2.59.0-net8 | 1.10.3 | ![Docker Image Size (tag)](https://img.shields.io/docker/image-size/swissgrc/azure-pipelines-packer/1.10.3?style=flat-square) |
| 1.11.0 | [Packer 1.11.0](https://github.com/hashicorp/packer/releases/tag/v1.11.0) | swissgrc/azure-pipelines-azurecli:2.61.0-net8 | 1.11.0 | ![Docker Image Size (tag)](https://img.shields.io/docker/image-size/swissgrc/azure-pipelines-packer/1.11.0?style=flat-square) |
| 1.11.1 | [Packer 1.11.1](https://github.com/hashicorp/packer/releases/tag/v1.11.1) | swissgrc/azure-pipelines-azurecli:2.62.0-net8 | 1.11.1 | ![Docker Image Size (tag)](https://img.shields.io/docker/image-size/swissgrc/azure-pipelines-packer/1.11.1?style=flat-square) |
| 1.11.2 | [Packer 1.11.2](https://github.com/hashicorp/packer/releases/tag/v1.11.2) | swissgrc/azure-pipelines-azurecli:2.64.0-net8 | 1.11.2 | ![Docker Image Size (tag)](https://img.shields.io/docker/image-size/swissgrc/azure-pipelines-packer/1.11.2?style=flat-square) |[Azure Pipelines container jobs]: https://docs.microsoft.com/en-us/azure/devops/pipelines/process/container-phases