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

It might be nice if our final image didn't say CREATED in 292 years ago. #341

Closed
coollog opened this issue Jun 1, 2018 · 2 comments
Closed

Comments

@coollog
Copy link
Contributor

coollog commented Jun 1, 2018

We can make each layer reproducible but the final tar can still have a different creation date with the same image-id?

@patflynn
Copy link
Contributor

patflynn commented Jun 4, 2018 via email

@coollog
Copy link
Contributor Author

coollog commented Jun 4, 2018

Currently, we aren't actually zero-ing this out for the image, but rather just not setting a creation time (https://github.com/opencontainers/image-spec/blob/master/config.md#properties), which somehow causes Docker to say 292 years ago. For builds, we don't vary any of our build logic based on what the base image is so all the application layers and container config are reproducible.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

2 participants