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
Tanmay Jain 072dfdee9e
Skips bucket update when metadata matches current state
3 weeks ago
.github docs: remove docs validation from packer (#13577) 2 months ago
.release [COMPLIANCE] Update Copyright and License Headers 6 months ago
acctest [COMPLIANCE] Update Copyright and License Headers (Batch 1 of 5) 5 months ago
builder [COMPLIANCE] Update Copyright and License Headers (Batch 1 of 5) 5 months ago
cmd [COMPLIANCE] Update Copyright and License Headers (Batch 1 of 5) 5 months ago
command Feature/enforced provisioner (#13591) 1 month 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) 5 months ago
examples Fixes typos in docs (#11322) 5 years ago
fix Merge pull request #13545 from hashicorp/compliance/update-headers-batch-2 5 months ago
hcl2template Feature/enforced provisioner (#13591) 1 month ago
helper [COMPLIANCE] Update Copyright and License Headers (Batch 2 of 5) 5 months ago
internal Skips bucket update when metadata matches current state 3 weeks ago
packer Feature/enforced provisioner (#13591) 1 month ago
packer_test build(deps): bump github.com/Azure/go-ntlmssp (#13620) 3 weeks ago
post-processor [COMPLIANCE] Update Copyright and License Headers (Batch 3 of 5) 5 months ago
provisioner fix: exclude syft dependency import on NetBSD, OpenBSD, and Solaris (#13578) 2 months ago
scripts [COMPLIANCE] Update Copyright and License Headers (Batch 3 of 5) 5 months ago
version Bump version to 1.15.2 and update changelog for release (#13618) 3 weeks ago
website Merge pull request #13532 from hashicorp/channel-assignment 5 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 Update Go version and refresh dependencies 4 weeks ago
.golangci.yml feat: native sbom generation for hcp (#13566) 2 months ago
CHANGELOG.md Bump version to 1.15.2 and update changelog for release (#13618) 3 weeks ago
CODEOWNERS add access to redirects and readme 1 year ago
Dockerfile Merge pull request #13442 from hashicorp/anshul/docker_img_official_plugin 4 months ago
LICENSE Update LICENSE 2 months ago
Makefile docs: remove docs validation from packer (#13577) 2 months ago
README.md docs: remove docs validation from packer (#13577) 2 months ago
Vagrantfile
background_check.go [COMPLIANCE] Update Copyright and License Headers (Batch 1 of 5) 5 months ago
background_check_openbsd.go [COMPLIANCE] Update Copyright and License Headers (Batch 1 of 5) 5 months ago
checkpoint.go [COMPLIANCE] Update Copyright and License Headers (Batch 1 of 5) 5 months ago
commands.go [COMPLIANCE] Update Copyright and License Headers (Batch 1 of 5) 5 months ago
config.go [COMPLIANCE] Update Copyright and License Headers (Batch 1 of 5) 5 months ago
config_test.go [COMPLIANCE] Update Copyright and License Headers (Batch 1 of 5) 5 months ago
go Bump Go tooling version to 1.20.8 3 years ago
go.mod fix(deps): update github.com/Azure/go-ntlmssp to v0.1.1 (#13622) 3 weeks ago
go.sum fix(deps): update github.com/Azure/go-ntlmssp to v0.1.1 (#13622) 3 weeks ago
log.go [COMPLIANCE] Update Copyright and License Headers (Batch 2 of 5) 5 months ago
main.go [COMPLIANCE] Update Copyright and License Headers (Batch 2 of 5) 5 months ago
main_test.go [COMPLIANCE] Update Copyright and License Headers (Batch 2 of 5) 5 months ago
panic.go [COMPLIANCE] Update Copyright and License Headers (Batch 3 of 5) 5 months ago
tty.go [COMPLIANCE] Update Copyright and License Headers (Batch 3 of 5) 5 months ago
tty_solaris.go [COMPLIANCE] Update Copyright and License Headers (Batch 3 of 5) 5 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.