Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Allow overriding image creation time #137

Closed
wants to merge 2 commits into from

Commits on Feb 3, 2022

  1. Allow overriding image creation time

    If the SOURCE_DATE_EPOCH env var is set (to a number of seconds since
    the Unix epoch), its value will be used as the creation time of the
    image produced, and of config history values for each layer.
    
    This matches the behavior of tools like ko[0] and is the recommendation
    of https://reproducible-builds.org/
    
    0: https://github.com/google/ko#why-are-my-images-all-created-in-1970
    Signed-off-by: Jason Hall <[email protected]>
    imjasonh committed Feb 3, 2022
    Configuration menu
    Copy the full SHA
    d1dc022 View commit details
    Browse the repository at this point in the history

Commits on Feb 11, 2022

  1. Support SOURCE_DATE_EPOCH in the daemon case

    Signed-off-by: Jason Hall <[email protected]>
    imjasonh committed Feb 11, 2022
    Configuration menu
    Copy the full SHA
    99e3ce8 View commit details
    Browse the repository at this point in the history