I like Docker, but I’m not a huge fan of using shell scripts for complex system configuration…and Dockerfiles are basically giant shell scripts.
I was curious whether or not it would be possible to use Puppet during
the docker build
process. As a test case, I used the
ssh module included in the openstack-puppet-modules package.
I started with a manifest like this (in puppet/node.pp
):
class { 'ssh': }
And a Dockerfile like this: