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
Jamie Finnigan ae367bc114
.go-version: bump version of Go to 1.21.12
2 years ago
.github Result of tsccr-helper -log-level=info gha update . 2 years ago
.release Add LICENSE details to Docker release binaries 2 years ago
acctest packer: relax constraints on sources 2 years ago
builder refactor: remove deprecated InitializePluginVersion, replace with NewPluginVersion 2 years ago
cmd chore: remove refs to deprecated io/ioutil 2 years ago
command commands: reject constraints with pre-releases (#12999) 2 years ago
contrib/zsh-completion Update fix command autocomplete to work for JSON template files only (#12366) 3 years ago
datasource datasource/http: don't error on 2xx code 2 years ago
examples Fixes typos in docs (#11322) 4 years ago
fix [COMPLIANCE] License changes (#12568) 3 years ago
hcl2template hcl2template: detect duplicate locals during parse 2 years ago
helper [COMPLIANCE] License changes (#12568) 3 years ago
internal/hcp HCP Packer Buckets: Change UpsertBucket to call GetBucket (#13059) 2 years ago
packer refactor: remove deprecated InitializePluginVersion, replace with NewPluginVersion 2 years ago
packer_test build(deps): bump github.com/hashicorp/go-retryablehttp 2 years ago
post-processor add missing return value when creating new XZ reader and writer (#13021) 2 years ago
provisioner refactor: remove deprecated InitializePluginVersion, replace with NewPluginVersion 2 years ago
scripts scripts: re-add wait for changelog listing (#13002) 2 years ago
version version: bump main to 1.12.0-dev 2 years ago
website doc fix for unattended debian/ubuntu installer linkrot (#13023) 2 years 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 .go-version: bump version of Go to 1.21.12 2 years ago
.golangci.yml golangci: remove deadcode/varcheck 2 years ago
CHANGELOG.md Update CHANGELOG post 1.11.1 release 2 years ago
CODEOWNERS Remove release-engineering as codeowners 2 years ago
Dockerfile Dockerfile: Add Product directory to /usr/share/doc directory 2 years ago
LICENSE update year in license files 2 years ago
Makefile Makefile: bump golangci-lint to 1.54.0 2 years ago
README.md Update README 2 years ago
Vagrantfile vagrantfile: add support for docker provider 7 years ago
background_check.go [COMPLIANCE] License changes (#12568) 3 years ago
background_check_openbsd.go [COMPLIANCE] License changes (#12568) 3 years ago
checkpoint.go [COMPLIANCE] License changes (#12568) 3 years ago
commands.go commands: introduce plugin as alias to plugins 2 years ago
config.go config: rm mono-component support from config file (#12998) 2 years ago
config_test.go config: rm mono-component support from config file (#12998) 2 years ago
go Bump Go tooling version to 1.20.8 2 years ago
go.mod Bump github.com/hashicorp/go-retryablehttp to address CVE-2024-6104 (#13081) 2 years ago
go.sum Bump github.com/hashicorp/go-retryablehttp to address CVE-2024-6104 (#13081) 2 years ago
log.go [COMPLIANCE] License changes (#12568) 3 years ago
main.go config: rm mono-component support from config file (#12998) 2 years ago
main_test.go [COMPLIANCE] License changes (#12568) 3 years ago
panic.go [COMPLIANCE] License changes (#12568) 3 years ago
tty.go [COMPLIANCE] License changes (#12568) 3 years ago
tty_solaris.go [COMPLIANCE] License changes (#12568) 3 years 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.

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.