Ecosyste.ms: Awesome

An open API service indexing awesome lists of open source software.

Awesome Lists | Featured Topics | Projects

https://github.com/rarrais/packer-builder

Container-based builder for Packer using QEMU and Ansible
https://github.com/rarrais/packer-builder

Last synced: 25 days ago
JSON representation

Container-based builder for Packer using QEMU and Ansible

Awesome Lists containing this project

README

        

# Packer Builder

[![CI/CD](https://github.com/rarrais/packer-builder/actions/workflows/container.yml/badge.svg)](https://github.com/rarrais/packer-builder/actions/workflows/container.yml)

Container-based builder for [Packer](https://www.packer.io/) using [QEMU](https://www.qemu.org/) and [Ansible](https://www.ansible.com/).

Derived from [mkaczanowski/packer-builder-arm](https://github.com/mkaczanowski/packer-builder-arm).

## Table of Contents

* [Usage](#usage)
* [License](#license)

## Usage

* Packer init:

```bash
docker run --rm --privileged -v /dev:/dev -v ${PWD}:/build ghcr.io/rarrais/packer-builder:latest init
```

* Packer validate:

```bash
docker run --rm --privileged -v /dev:/dev -v ${PWD}:/build ghcr.io/rarrais/packer-builder:latest validate
```

* Packer build:

```bash
docker run --rm --privileged -v /dev:/dev -v ${PWD}:/build ghcr.io/rarrais/packer-builder:latest build
```

## License

Apache License 2.0