»Build Images in CI/CD
The following guides from our partners show how to use their services to build images with Packer.
- How to Build Immutable Infrastructure with Packer and CircleCI Workflows
- Using Packer and Ansible to Build Immutable Infrastructure in CodeShip
The majority of the Packer Builders can run in a container or VM, a common model used by most CI/CD services. However, the QEMU builder for KVM and Xen virtual machine images, VirtualBox builder for OVA or OVF virtual machines and VMware builder for use with VMware products require running on a bare-metal machine.
The Building a VirtualBox Image with Packer in TeamCity guide shows how to create a VirtualBox image using TeamCity's support for running scripts on bare-metal machines.