Hacker Newsnew | past | comments | ask | show | jobs | submitlogin

Would that not be cached? It would not actually run that date command again, right? unless you change that date line itself, in the Dockerfile.


If you’re using a cached version, you haven’t really reproduced anything but the cache itself. Reproducibility means creating the same output given the same input, every time, regardless of some local cache.

That said, the above example isn’t specific to Docker.


Or if you change anything that comes before that line.




Guidelines | FAQ | Lists | API | Security | Legal | Apply to YC | Contact

Search: