|
|
|
|
|
by bornfreddy
649 days ago
|
|
> They are the exact equivalent of shipping a developer's laptop off to the datacenter and replicating it as a production image. I hear that a lot, but it's not really true, or it is true only if developer created the image manually. Does anyone do that? As soon as you use a Dockerfile you have reproducible builds, allowing you to use a different base image, or even perform the installation without containers at all. |
|
That is extremely optimistic. As soon as you do anything involving an update - `apt-get update` or similar - it's not reproducible any more, and of course you do need to do those things in most images. And if you don't need to do that, you can probably avoid doing the whole Dockerfile thing in the first place (although that may not be so easy if you're not set up for it).