https://github.com/stakater/dockerfile-packer
Dockerfile for packer
https://github.com/stakater/dockerfile-packer
docker docker-image dockerfile packer
Last synced: about 1 month ago
JSON representation
Dockerfile for packer
- Host: GitHub
- URL: https://github.com/stakater/dockerfile-packer
- Owner: stakater
- License: apache-2.0
- Created: 2017-10-06T17:41:10.000Z (over 8 years ago)
- Default Branch: master
- Last Pushed: 2023-12-15T02:38:41.000Z (over 2 years ago)
- Last Synced: 2025-08-10T12:55:08.804Z (11 months ago)
- Topics: docker, docker-image, dockerfile, packer
- Homepage: http://www.stakater.com
- Size: 5.86 KB
- Stars: 0
- Watchers: 3
- Forks: 1
- Open Issues: 1
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# packer docker image
Phusion Docker Image with `packer` & `make` installed
This is a phusion based docker image which has `packer 0.10.1`, `make` installed
It's purpose is to run any packer based project that is placed in the container. You can enter any command required to build your project other than the `packer` commands as well
## Usage
### Creating a Container:
```
docker run -d --name stakater_packer -v /etc/myPackerCode:/usr/src/app
```
Map the directory which contains your packer code to `/usr/src/app`.
### Running Your Code:
To run your code, pass commands to the docker container using `exec`
```
docker exec stakater_packer /bin/bash -c ""
```
e.g.
```
docker exec stakater_packer /bin/bash -c "packer --version"
```
```