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
CreatedAt
And this timestamp is also non-reproducible
buildkit/exporter/containerimage/export.go Lines 246 to 249 in 092e977 img := images.Image{ Target: *desc, CreatedAt: time.Now(), }
buildkit/exporter/containerimage/export.go
Lines 246 to 249 in 092e977
Originally posted by @AkihiroSuda in #2918 (comment)
The text was updated successfully, but these errors were encountered:
Isn't this the "pull time" that is not actually part of the image?
Sorry, something went wrong.
Not actually part of the image, but I’d expect this to be set to the SOURCE_DATE_EPOCH. Not a hard requirement.
Looks like containerd does not support setting custom CreatedAt
https://github.com/containerd/containerd/blob/v1.7.0-beta.0/metadata/images.go#L147
https://github.com/containerd/containerd/blob/v1.7.0-beta.0/metadata/images.go#L183 https://github.com/containerd/containerd/blob/v1.7.0-beta.0/metadata/images.go#L230
Successfully merging a pull request may close this issue.
Originally posted by @AkihiroSuda in #2918 (comment)
The text was updated successfully, but these errors were encountered: