Giter Site home page Giter Site logo

Comments (3)

jcpetruzza avatar jcpetruzza commented on August 18, 2024

I know it looks funny at first, but it is actually by design. We are using Nix to package marge and, in particular, to generate the docker images we use for distribution (see e.g. this article for details). The latter means that the final images are relatively small, but more importantly reproducible: the image you download from docker-hub should be exactly the same as the one you would get if you were to run make dockerize locally.

For reproducibility to work, you need all timestamps in the image to be the same, regardless of when you build the image. The convention in Nix is to timestamp all the artifacts it builds with one-second-after-the-epoch and that is extended to the docker image.

I remember having a WTF-moment the first time I saw the 47 years ago on a docker images, but I guess I got used to it now. Is there any actual problem with this convention, in your opinion?

from marge-bot.

glensc avatar glensc commented on August 18, 2024

there's no functional problem, just clarity, i wanted to know how old image i was running (used :latest tag), and all images were "very old".

from marge-bot.

jcpetruzza avatar jcpetruzza commented on August 18, 2024

I see. I imagine you can instead check the creation date of the container? I will close this one for now, but feel free to re-open.

from marge-bot.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.