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
Lucas Bajolet 754c622ca3
version: cut release 1.12.0
1 year ago
.github Result of tsccr-helper -log-level=info gha update .github/ 1 year ago
.release release: ignore AWS SDK vulnerability for release 1 year ago
acctest packer: relax constraints on sources 2 years ago
builder packer: address unused lint errors 2 years ago
cmd chore: remove refs to deprecated io/ioutil 2 years ago
command command: exit non-zero if uploading to HCP failed 1 year ago
contrib/zsh-completion Update fix command autocomplete to work for JSON template files only (#12366) 3 years ago
datasource datasource/http: change Outputs->ExpectedOutputs 1 year ago
examples Fixes typos in docs (#11322) 4 years ago
fix packer: address gosimple lint errors 2 years ago
hcl2template packer: add hcp-sbom provisioner 1 year ago
helper [COMPLIANCE] License changes (#12568) 3 years ago
internal Ensure org ID is set and move UploadSbom to api package 1 year ago
packer hcp: use enum for HCP SBOM upload 1 year ago
packer_test packer_test: add integration tests for hcp-sbom 1 year ago
post-processor packer: address unused lint errors 2 years ago
provisioner website: add docs for the hcp-sbom provisioner 1 year ago
scripts packer: pick protobuf/gob for serialisation (#13025) 1 year ago
version version: cut release 1.12.0 1 year ago
website website: add docs for the hcp-sbom provisioner 1 year 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 build: ensure that LC_UUID is generated for Darwin binaries 1 year ago
.golangci.yml golangci.yml: add rule to not run errcheck on test 2 years ago
CHANGELOG.md CHANGELOG: add changes for v1.12.0 1 year ago
CODEOWNERS let education also edit the docs side navigation 1 year 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: replace enumer upstream with dmarkham's (#13107) 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 packer: pick protobuf/gob for serialisation (#13025) 1 year 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 packer: add hcp-sbom provisioner 1 year ago
go.sum packer: add hcp-sbom provisioner 1 year ago
log.go log: simplify the logOutput function 2 years ago
main.go packer: address errcheck lint errors 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.