4 ms·
Docker is not fully reproducible either. Try building a Docker image from two different machines and then pushing it to a registry. It will always overwrite.
by mmcnl 4y ago
Docker is not fully reproducible either. Try building a Docker image from two different machines and then pushing it to a registry. It will always overwrite.
- egberts1 4y agoOoooh, “it will always overwrite.”: this is like saying an indirect way of saying that your executable will behave exactly the same if it got overwritten (by a same set of bytes). Good one.
- ParetoOptimal 4y agoDockerfiles pervasively use things like `apt-update` and that makes them not reproducible. Even of your image pins apt or yum, images you depend on likely don't. Docker is repeatable, not reproducible.
- egberts1 4y agoYep
- xbfivhvu 4y ago
- hinkley 4y agoI’ve read bug threads in the moby GitHub where they reject a feature because it’s not repeatable, while people point out that Docker files start with apt-get so they aren’t repeatable from layer 2 anyway. The team members don’t seem to hear them and it’s frustrating to watch. Images are repeatable. We like repeatable images. That’s enough for most of us. Don’t break that and we’re good. Just fix build time bullshit please.