how to build docker image?

49 views
Skip to first unread message

Shunsuke Mie

unread,
Dec 11, 2014, 6:18:09 PM12/11/14
to ansible...@googlegroups.com
I find docker_image module, but this module is deprecated.
So now, I using commands module.
Can i build docker image any way?


Michael DeHaan

unread,
Dec 11, 2014, 8:00:21 PM12/11/14
to ansible...@googlegroups.com
Yeah so we find it odd that a Dockerfile, that usually contains ansible-playbooks, would be executed by Ansible.

We think in most cases it would be executed by a build system (like Jenkins), or even a Makefile... and that like most packaging tools it would be done before the ansible-playbook was run.

So the command module is we think the nice way to go, if you really want to do that, and I think that's fine.

Hope this helps!

--
You received this message because you are subscribed to the Google Groups "Ansible Project" group.
To unsubscribe from this group and stop receiving emails from it, send an email to ansible-proje...@googlegroups.com.
To post to this group, send email to ansible...@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/ansible-project/a8030ff0-71e2-4eff-9a8d-62d46f84e3b1%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.
Reply all
Reply to author
Forward
0 new messages