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
Devashish 9ea5342c23
Add thread-safe add and get methods for plugin storage
2 years ago
.github Copy license into zip with txt extension 2 years ago
.release Add LICENSE details to Docker release binaries 2 years ago
acctest packer: relax constraints on sources 2 years ago
builder chore: remove refs to deprecated io/ioutil 3 years ago
cmd chore: remove refs to deprecated io/ioutil 3 years ago
command packer: relax constraints on sources 2 years ago
contrib/zsh-completion Update fix command autocomplete to work for JSON template files only (#12366) 3 years ago
datasource Migrate HCP Packer to API V2 and new nomenclature changes (#12794) 2 years ago
examples
fix [COMPLIANCE] License changes (#12568) 3 years ago
hcl2template packer: relax constraints on sources 2 years ago
helper
internal/hcp Remove GetMetadata from StartBuild and add to CompleteBuild for HCL (#12926) 2 years ago
packer Add thread-safe add and get methods for plugin storage 2 years ago
post-processor
provisioner
scripts commands: rename plugin to execute 2 years ago
version version: compute SemVer from rawVersion 2 years ago
website Add missing option doc for 'packer fmt' (#12944) 2 years ago
.copywrite.hcl
.gitattributes
.gitignore
.go-version Bump Go toolchain to 1.21.8 2 years ago
.golangci.yml
CHANGELOG.md Update CHANGELOG 2 years ago
CODEOWNERS Remove release-engineering as codeowners 3 years ago
Dockerfile Dockerfile: Add Product directory to /usr/share/doc directory 2 years ago
LICENSE
Makefile
README.md
Vagrantfile
background_check.go
background_check_openbsd.go [COMPLIANCE] License changes (#12568) 3 years ago
checkpoint.go
commands.go commands: introduce plugin as alias to plugins 2 years ago
config.go commands: rename plugin to execute 2 years ago
config_test.go
go
go.mod build(deps): bump github.com/hashicorp/hcp-sdk-go from 0.92.0 to 0.93.0 (#12942) 2 years ago
go.sum build(deps): bump github.com/hashicorp/hcp-sdk-go from 0.92.0 to 0.93.0 (#12942) 2 years ago
log.go [COMPLIANCE] License changes (#12568) 3 years ago
main.go commands: introduce plugin as alias to plugins 2 years ago
main_test.go
panic.go
tty.go [COMPLIANCE] License changes (#12568) 3 years ago
tty_solaris.go

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.