A small Packer+Ansible Image for packer building images utilizing Ansible configuration management!
1.8K
This image aims to provide a usable packer image with ansible slipstreamed inside for easy utilization of Ansible Local/Remote builders!
A few notes:
hashicorp/packer/bin/sh/ -c so this
image is more standardized for things like gitlab-runner or other
application.Given you bind mount a directory ami_build which has your packer.json
and related ansible scripts, something like this should work.
docker run -v /home/user/ami_build:/build -ti -e AWS_ACCESS_KEY=blah
-e AWS_SECRET_KEY=blah inanimate/packer-ansible "packer build packer.json"
Content type
Image
Digest
Size
96.4 MB
Last updated
over 10 years ago
docker pull inanimate/packer-ansible