4 ms·
If you find yourself using complicated custom methods with Dockerfiles, you should probably be building Linux packages, publishing to a local repo, and installi
by peterwwillis 8y ago
If you find yourself using complicated custom methods with Dockerfiles, you should probably be building Linux packages, publishing to a local repo, and installing them from the Dockerfile. You gain the idempotent, immutable, versioned, system integrated, dependency-mapped, cryptographically verifiable, remotely distributed, cacheable benefits, and you don't have to adopt any new software or systems.
Your organization can follow any workflow/lifecycle it wants to build and publish the packages. Once they are published, developers can just install and use them with no learning curve whatsoever.
- makapuf 8y agoAnd to create those packages, I've found fpm[1] a joy to use. [1] https://github.com/jordansissel/fpm https://github.com/jordansissel/fpm
- d3ck 8y agoGot your point, and this is a nice solution. But another (not uncommon approach) is to understand the docker container itself as the application.