3 ms·
> `Dockerfile` from 10 years back would work today as well. I highly doubt that any Dockerfile from back then would work if it runs `apt-get` (as many do), as
by hobofan 4y ago
> `Dockerfile` from 10 years back would work today as well.
I highly doubt that any Dockerfile from back then would work if it runs `apt-get` (as many do), as the mirrors for the old distribution versions aren't online anymore.
Dockerfiles can be made to be quite deterministic, but many use `FROM` with unpinned tags and install from URLs that can and do go away.
- Vaguely2178 4y agoExactly! Dockerfiles are not deterministic. The build artifacts that they produce (images) are, but the same could be said of js build artifacts (which would be a set of compiled and bundled js files).