Skip to content

🐳 Containerised Packer to avoid having to install CLI on Dev or CI/CD machines.

License

Notifications You must be signed in to change notification settings

contino/docker-packer

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

6 Commits
 
 
 
 
 
 
 
 

Repository files navigation

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.

Related Projects

About

🐳 Containerised Packer to avoid having to install CLI on Dev or CI/CD machines.

Resources

License

Stars

Watchers

Forks

Packages

No packages published