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/fe9fe6d9-0c25-49ae-8b5d-aec868495b36%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

Reply via email to