| FazBrowse GitHub Viewer | Trending | | Home |
| Tools: [Download Repo ZIP] [Original HTTPS Page] |
| Name | Name | Last commit date | ||
|---|---|---|---|---|
This docker image aim is to run packer in a Docker container. There is an official hashicorp/packer Docker image but our goal was:
The main idea is that you can use a lean Alpine linux, and put only the packer binaries into it.
You can use Docker volume to inject you packer JSON into the container:
$ docker run -it --rm \
-v $(pwd):/data \
-w /data \
sequenceiq/packer:v0.7.5.dev \
build packer.json
To make life easier you can create an alias which is an in-place replacement for a locally installed packer:
$ alias packer='docker run -it --rm -v $(pwd):/data -w /data sequenceiq/packer:v0.7.5.dev'
After that you can use it as easy as:
packer validate mypacker.json
| Back | FazBrowse Home | New Git URL |