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
dependabot[bot] 31d51cba1b
build(deps): bump github.com/hashicorp/hcp-sdk-go
20 hours ago
.github docs: remove docs validation from packer (#13577) 2 weeks ago
.release [COMPLIANCE] Update Copyright and License Headers 4 months ago
acctest [COMPLIANCE] Update Copyright and License Headers (Batch 1 of 5) 4 months ago
builder [COMPLIANCE] Update Copyright and License Headers (Batch 1 of 5) 4 months ago
cmd [COMPLIANCE] Update Copyright and License Headers (Batch 1 of 5) 4 months ago
command Refactors sensitive multiline test to use OS-specific fixtures 2 weeks ago
contrib/zsh-completion Update fix command autocomplete to work for JSON template files only (#12366) 3 years ago
datasource [COMPLIANCE] Update Copyright and License Headers (Batch 1 of 5) 4 months ago
examples Fixes typos in docs (#11322) 5 years ago
fix Merge pull request #13545 from hashicorp/compliance/update-headers-batch-2 4 months ago
hcl2template BUG: Scrub multiline sensitive values from build output 2 weeks ago
helper [COMPLIANCE] Update Copyright and License Headers (Batch 2 of 5) 4 months ago
internal Merge pull request #13545 from hashicorp/compliance/update-headers-batch-2 4 months ago
packer Refactors sensitive multiline test to use OS-specific fixtures 2 weeks ago
packer_test Updates OpenTelemetry dependencies to v1.41.0 3 weeks ago
post-processor [COMPLIANCE] Update Copyright and License Headers (Batch 3 of 5) 4 months ago
provisioner fix: exclude syft dependency import on NetBSD, OpenBSD, and Solaris (#13578) 2 weeks ago
scripts [COMPLIANCE] Update Copyright and License Headers (Batch 3 of 5) 4 months ago
version cut release v1.15.1 (#13588) 2 weeks ago
website Merge pull request #13532 from hashicorp/channel-assignment 4 months ago
.copywrite.hcl update year in license files 2 years ago
.gitattributes HCL2: add templatefile function (#10776) 5 years ago
.gitignore Remove the vendor dir (#10916) 5 years ago
.go-version bump syft to v1.42.3 (#13581) 2 weeks ago
.golangci.yml feat: native sbom generation for hcp (#13566) 2 weeks ago
CHANGELOG.md cut release v1.15.1 (#13588) 2 weeks ago
CODEOWNERS add access to redirects and readme 1 year ago
Dockerfile Merge pull request #13442 from hashicorp/anshul/docker_img_official_plugin 2 months ago
LICENSE Update LICENSE 4 weeks ago
Makefile docs: remove docs validation from packer (#13577) 2 weeks ago
README.md docs: remove docs validation from packer (#13577) 2 weeks ago
Vagrantfile
background_check.go [COMPLIANCE] Update Copyright and License Headers (Batch 1 of 5) 4 months ago
background_check_openbsd.go [COMPLIANCE] Update Copyright and License Headers (Batch 1 of 5) 4 months ago
checkpoint.go [COMPLIANCE] Update Copyright and License Headers (Batch 1 of 5) 4 months ago
commands.go [COMPLIANCE] Update Copyright and License Headers (Batch 1 of 5) 4 months ago
config.go [COMPLIANCE] Update Copyright and License Headers (Batch 1 of 5) 4 months ago
config_test.go [COMPLIANCE] Update Copyright and License Headers (Batch 1 of 5) 4 months ago
go Bump Go tooling version to 1.20.8 3 years ago
go.mod build(deps): bump github.com/hashicorp/hcp-sdk-go 20 hours ago
go.sum build(deps): bump github.com/hashicorp/hcp-sdk-go 20 hours ago
log.go [COMPLIANCE] Update Copyright and License Headers (Batch 2 of 5) 4 months ago
main.go [COMPLIANCE] Update Copyright and License Headers (Batch 2 of 5) 4 months ago
main_test.go [COMPLIANCE] Update Copyright and License Headers (Batch 2 of 5) 4 months ago
panic.go [COMPLIANCE] Update Copyright and License Headers (Batch 3 of 5) 4 months ago
tty.go [COMPLIANCE] Update Copyright and License Headers (Batch 3 of 5) 4 months ago
tty_solaris.go [COMPLIANCE] Update Copyright and License Headers (Batch 3 of 5) 4 months 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.