github.com/hashicorp/packer@v1.14.3/website/content/guides/packer-on-cicd/build-image-in-cicd.mdx (about)

     1  ---
     2  page_title: Build Images in CI/CD
     3  description: >-
     4    Learn how to build Packer images within a continuous integration / continuous delivery pipeline.
     5  ---
     6  
     7  # Build Images in CI/CD
     8  
     9  The following guides from our partners show how to use their services to build
    10  images with Packer.
    11  
    12  - [How to Build Immutable Infrastructure with Packer and CircleCI Workflows](https://circleci.com/blog/how-to-build-immutable-infrastructure-with-packer-and-circleci-workflows/)
    13  - [Using Packer and Ansible to Build Immutable Infrastructure in CodeShip](https://blog.codeship.com/packer-ansible/)
    14  
    15  The majority of the [Packer Builders](/packer/docs/builders) can run just fine in a
    16  container, a common model used by most CI/CD services. However, while it is
    17  possible to run many builders in containers or nested virtualization, this may
    18  require advanced configuration; examples include the [QEMU
    19  builder](/packer/plugins/builders/qemu) for
    20  [KVM](https://www.linux-kvm.org/page/Main_Page) or
    21  [Xen](https://www.xenproject.org/), the [VirtualBox
    22  builder](/packer/plugins/builders/virtualbox) for OVA or OVF virtual machines, and the
    23  [VMware builder](/packer/plugins/builders/vmware) for use with VMware products that are
    24  all designed to run on a bare-metal machine or within nested virtualization.
    25  
    26  The [Building a VirtualBox Image with Packer in
    27  TeamCity](/packer/guides/packer-on-cicd/build-virtualbox-image) guide shows
    28  how to create a VirtualBox image using TeamCity's support for running scripts
    29  on bare-metal machines.