Packer is a tool for creating identical machine images for multiple platforms from a single source configuration.
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
 
 
 
 
 
 
Go to file
Hari 5ed27a3490
fix: update build constraints to support arm architecture on FreeBSD (#13650)
2 weeks ago
.github Merge pull request #13632 from hashicorp/compliance/add-headers 2 weeks ago
.release Merge pull request #13632 from hashicorp/compliance/add-headers 2 weeks ago
acctest Merge pull request #13632 from hashicorp/compliance/add-headers 2 weeks ago
builder Merge pull request #13632 from hashicorp/compliance/add-headers 2 weeks ago
cmd Merge pull request #13632 from hashicorp/compliance/add-headers 2 weeks ago
command Removes Syft binary download/handling from the HCP SBOM provisioner (#13636) 2 weeks ago
contrib/zsh-completion Update fix command autocomplete to work for JSON template files only (#12366) 3 years ago
datasource Merge pull request #13632 from hashicorp/compliance/add-headers 2 weeks ago
examples Fixes typos in docs (#11322) 5 years ago
fix Merge pull request #13632 from hashicorp/compliance/add-headers 2 weeks ago
hcl2template Merge pull request #13632 from hashicorp/compliance/add-headers 2 weeks ago
helper Merge pull request #13632 from hashicorp/compliance/add-headers 2 weeks ago
internal fix: update build constraints to support arm architecture on FreeBSD (#13650) 2 weeks ago
packer Merge pull request #13632 from hashicorp/compliance/add-headers 2 weeks ago
packer_test Merge pull request #13632 from hashicorp/compliance/add-headers 2 weeks ago
post-processor Merge pull request #13632 from hashicorp/compliance/add-headers 2 weeks ago
provisioner Removes Syft binary download/handling from the HCP SBOM provisioner (#13636) 2 weeks ago
scripts Merge pull request #13632 from hashicorp/compliance/add-headers 2 weeks ago
version Merge pull request #13632 from hashicorp/compliance/add-headers 2 weeks ago
website Removes Syft binary download/handling from the HCP SBOM provisioner (#13636) 2 weeks ago
.copywrite.hcl update year in license files 3 years ago
.gitattributes HCL2: add templatefile function (#10776) 5 years ago
.gitignore Remove the vendor dir (#10916) 5 years ago
.go-version Update Go version and refresh dependencies 2 weeks ago
.golangci.yml Merge pull request #13632 from hashicorp/compliance/add-headers 2 weeks ago
CHANGELOG.md version: cut release v1.15.3 2 months ago
CODEOWNERS add access to redirects and readme 1 year ago
Dockerfile Merge pull request #13632 from hashicorp/compliance/add-headers 2 weeks ago
LICENSE Update LICENSE 3 months ago
Makefile docs: remove docs validation from packer (#13577) 3 months ago
README.md docs: remove docs validation from packer (#13577) 3 months ago
Vagrantfile
background_check.go Merge pull request #13632 from hashicorp/compliance/add-headers 2 weeks ago
background_check_openbsd.go Merge pull request #13632 from hashicorp/compliance/add-headers 2 weeks ago
checkpoint.go Merge pull request #13632 from hashicorp/compliance/add-headers 2 weeks ago
commands.go Removes Syft binary download/handling from the HCP SBOM provisioner (#13636) 2 weeks ago
config.go Merge pull request #13632 from hashicorp/compliance/add-headers 2 weeks ago
config_test.go Merge pull request #13632 from hashicorp/compliance/add-headers 2 weeks ago
go Bump Go tooling version to 1.20.8 3 years ago
go.mod Removes Syft binary download/handling from the HCP SBOM provisioner (#13636) 2 weeks ago
go.sum Removes Syft binary download/handling from the HCP SBOM provisioner (#13636) 2 weeks ago
log.go Merge pull request #13632 from hashicorp/compliance/add-headers 2 weeks ago
main.go Removes Syft binary download/handling from the HCP SBOM provisioner (#13636) 2 weeks ago
main_test.go Merge pull request #13632 from hashicorp/compliance/add-headers 2 weeks ago
panic.go Merge pull request #13632 from hashicorp/compliance/add-headers 2 weeks ago
tty.go Merge pull request #13632 from hashicorp/compliance/add-headers 2 weeks ago
tty_solaris.go Merge pull request #13632 from hashicorp/compliance/add-headers 2 weeks ago

README.md

Packer

License: BUSL-1.1 Build Status Discuss

HashiCorp Packer logo

Packer is a tool for building identical machine images for multiple platforms from a single source configuration.

Packer is lightweight, runs on every major operating system, and is highly performant, creating machine images for multiple platforms in parallel. Packer supports various platforms through external plugin integrations, the full list of which can be found at https://developer.hashicorp.com/packer/integrations.

The images that Packer creates can easily be turned into Vagrant boxes.

Quick Start

Packer

There is a great introduction and getting started guide for building a Docker image on your local machine without using any paid cloud resources.

Alternatively, you can refer to getting started with AWS to learn how to build a machine image for an external cloud provider.

HCP Packer

HCP Packer registry stores Packer image metadata, enabling you to track your image lifecycle.

To get started with building an AWS machine image to HCP Packer for referencing in Terraform refer to the collection of HCP Packer Tutorials.

Documentation

Comprehensive documentation is viewable on the Packer website at https://developer.hashicorp.com/packer/docs.

Contributing to Packer

See CONTRIBUTING.md for best practices and instructions on setting up your development environment to work on Packer.

Contributing to Documentation

Important: Packer documentation has moved to the hashicorp/web-unified-docs repository.

To contribute documentation changes:

Unmaintained Plugins

As contributors' circumstances change, development on a community maintained plugin can slow. When this happens, HashiCorp may use GitHub's option to archive the plugins repository, to clearly signal the plugin's status to users.

What does unmaintained mean?

  1. The code repository and all commit history will still be available.
  2. Documentation will remain on the Packer website.
  3. Issues and pull requests are monitored as a best effort.
  4. No active development will be performed by HashiCorp.

If you are interested in maintaining an unmaintained or archived plugin, please reach out to us at packer@hashicorp.com.