Re:Show HN: Postgres Docker image with common extensions
by mr-karan on Monday September 06, 2021 @03:18AM
(#28431278)
This makes inspecting the Dockerfile so much more harder. Not only this is non uniformity, Ansible really isn't the tool of choice if you want to "repeatedly" perform reproducible steps. So, I wonder why not just a Dockerfile instead of writing a playbook and then using `docker commit` (a command I've barely used/seen being used in my 2+ years of using docker daily).
[ Parent
| on HN ]
Re:Show HN: Postgres Docker image with common extensions
by rgoulter on Monday September 06, 2021 @03:31AM
(#28431338)
> Ansible really isn't the tool of choice if you want to "repeatedly" perform reproducible steps.
Ansible is a tool for provisioning a system in a particular way. What's the difference between running ansible against an ephemeral VM vs running against a container?
Re:Show HN: Postgres Docker image with common extensions
by yjftsjthsd-h on Monday September 06, 2021 @11:11AM
(#28434440)
So, I wonder why not just a Dockerfile instead of writing a playbook
One of the maintainers commented in a sibling comment to yours that they use the same ansible to build VM images, so that was more work.
> and then using `docker commit` (a command I've barely used/seen being used in my 2+ years of using docker daily).
Well, if you use Dockerfiles then of course you won't see a command used mostly by alternative build processes, but that's hardly a meaningful objection.