3 ms·
> The Dockerfile is not truly reproducible What makes you say that?
by MuffinFlavored 7y ago
> The Dockerfile is not truly reproducible
What makes you say that?
- sigjuice 7y agoTry this experiment. Build an image from a non-trivial Dockerfile today. Then make another image from the same Dockerfile in another couple of months and see if it is identical to today's image.
- takeda 7y agoTons of examples where it works on developer's computer, but doesn't in production or someone's elses computer. Dockerfile is not ensuring that build is fully reproducible, it's just list of steps to build the image. There are many issues with it, but biggest offender is due network access, if you're updating your package repo or downloading a file, there's a high chance that the resulting image is different every time. Dockerfile is as reproducible as a bash script. The only thing that's reproducible is the resulting image, but at that point so is a zip file.