Sign inSign up

contino/packer

By contino

Updated about 7 years ago

containerised packer

Image
1

2.2K

contino/packer repository overview

Docker Packer

Containerised Packer with Python3 and AWS sdks installed.

Usage

Run as a command:

docker run --rm contino/packer

Run as a shell and mount current directory as volumes:

docker run --rm -it -v ~/.aws:/root/.aws -v $(pwd):/opt/app --entrypoint bash contino/packer 

Using docker-compose:

packer:
    image: contino/packer
    env_file: .env
    working_dir: /opt/app
    entrypoint: packer
    volumes:
      - .:/opt/app:rw
      - ${SSH_AUTH_SOCK}:${SSH_AUTH_SOCK}

And run:

docker-compose run packer

Build

Update the PACKER_VERSIONin bothMakefileandDockerFile`. The run:

make build

Docker Hub will automatically triger a new build.

Tag summary

Content type

Image

Digest

Size

99.7 MB

Last updated

over 7 years ago

docker pull contino/packer