项目作者: stakater

项目描述 :
Dockerfile for packer
高级语言:
项目地址: git://github.com/stakater/dockerfile-packer.git
创建时间: 2017-10-06T17:41:10Z
项目社区:https://github.com/stakater/dockerfile-packer

开源协议:Apache License 2.0

下载


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:

  1. 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

  1. docker exec stakater_packer /bin/bash -c "<command here>"

e.g.

  1. docker exec stakater_packer /bin/bash -c "packer --version"

```