Open phinjensen opened 6 years ago
original author: Suresh Surendran
date: 2016-02-06T04:17:35-05:00
Nice article. I am working on provisioning a docker image using packer. I was using packer's docker provisioner to start up a docker image and ansible-local provisioner to deploy my app to this docker image. All looks good. Only thing i am not happy about is that I had to install Ansible in the docker image in-order to run run my ansible-playobook. This makes my docker image bit heavier than I would like to.
Suresh
original author: Ben Creasy
date: 2017-07-23T00:33:51-04:00
Looks like the docs have a solution for this? https://web.archive.org/web/20170723043159/https://www.packer.io/docs/provisioners/shell.html#sudo-example
I suspect it came after this blog post, but let me know if there are advantages to using ansible.
You mentioned everything can be done as root in packer. I wonder how you do that ? Thank you
Comments for https://www.endpointdev.com/blog/2014/03/provisioning-development-environment_14/ By Mike Farmer
To enter a comment: