Sign inSign up

timothyclarke/packer

By timothyclarke

•Updated about 7 years ago

Fork of Hashicorp's packer with more indicative versioning

Image
0

211

timothyclarke/packer repository overview

⁠Packer Docker Container

How we build packer docker images. We push these to https://hub.docker.com/r/hashicorp/packer/⁠ after every packer release.

Releases are tagged from the light version.

⁠Versions

  • a=alpine version
  • p=packer version so light-a3.10-p1.4.2 is the light version of packer 1.4.2 on alpine 3.10
⁠Usage

This repository automatically builds containers for using the packer⁠ command line program. It contains two distinct varieties of build, a light version, which just contains the binary, and a full version while compiles the binary from source inside the container before exposing it for use. Which you want will depend on use.

⁠light (default)

The light version of this container will copy the current stable version of the binary into the container, and set it for use as the default entrypoint. This will be the best option for most uses, and if you are just looking to run the binary from a container. The latest tag also points to this version.

You can use this version with the following:

docker run -i -t hashicorp/packer:light <command>
⁠full

The full version of this container contains all of the source code found in the parent repository⁠. Using Google's official golang image⁠ as a base, this container will copy the source from the master branch, build the binary, and expose it for running. Since the build is done on Docker Hub⁠, the container is ready for use. Because all build artifacts are included, it should be quite a bit larger than the light image. This version of the container is useful for development or debugging.

You can use this version with the following:

docker run -i -t hashicorp/packer:full <command>

Tag summary

Content type

Image

Digest

Size

95.4 MB

Last updated

about 7 years ago

docker pull timothyclarke/packer:latest-light