Sign inSign up

uroesch/packer

By uroesch

•Updated over 2 years ago

Packer build infrastructure containing QEMU / KVM and Ansible

Image
0

2.6K

uroesch/packer repository overview

⁠Docker Image for Packer builds with QEMU

Docker container for building packer images with QEMU and Ansible.

The repository also contain a docker-packer script which is a wrapper around the packer which segregates the packer artifacts directory into a temporary directory. This makes it possible to build the same OS in parallel. E.g when running in a CD/CI pipeline.

⁠Installed Tools

  • rake (ruby)

  • ansible (python3)

  • packer

  • kvm (qemu)

  • noVNC

⁠docker-packer

⁠Usage
  Usage:
    docker-packer [-h|-V] | command

  Options:
    -h | --help         This message
    -V | --version      Display version and exit

  Descriptions:
    Wrapper script for use with docker.io/uroesch/packer container.
    Mounts the current working directory 'iso', 'images', 'artifacts'
    into the docker container and runs the provided command as
    pass through inside the container.
⁠Examples

Change into your packer project directory and run the script docker-packer followed by the packer command. E.g.

docker-packer packer build -parallel-builds=1 ubuntu.pkr.hcl

Tag summary

Content type

Image

Digest

sha256:b9ee9e56c…

Size

485.2 MB

Last updated

about 3 years ago

docker pull uroesch/packer