Im going to go in a different direction: why are we pre-installing a docker image on your server image? Seems like a pretty strong anti pattern (saves very little deployment time and ties infra to app).
On Monday, February 11, 2019 at 7:21:20 AM UTC-8, Daniel Ortega wrote: > > Is it possible to use packer to replicate this Dockerfile? > https://github.com/geerlingguy/docker-debian9-ansible/blob/master/Dockerfile#L9 > > Basically I want to execute "Docker RUN" installating some packages (sudo > and systemd) and start that container using "/lib/systemd/systemd". Is it > possible? > > The problems that I have includes: > > 1. Docker RUN is not supported (or is not described in the official > doc) > 2. I cannot put scripts after docker container start > 3. I don't know how to create a image, then tag this image and try to > start using "/lib/system/systemd" > > -- This mailing list is governed under the HashiCorp Community Guidelines - https://www.hashicorp.com/community-guidelines.html. Behavior in violation of those guidelines may result in your removal from this mailing list. GitHub Issues: https://github.com/mitchellh/packer/issues IRC: #packer-tool on Freenode --- You received this message because you are subscribed to the Google Groups "Packer" group. To unsubscribe from this group and stop receiving emails from it, send an email to packer-tool+unsubscr...@googlegroups.com. To view this discussion on the web visit https://groups.google.com/d/msgid/packer-tool/df250c62-fb81-4fe6-8d71-ee57b5f5ad2e%40googlegroups.com. For more options, visit https://groups.google.com/d/optout.