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

Add useCurrentTimestamp flag for Jib builds #23462

Closed
twobiers opened this issue Feb 6, 2022 · 1 comment · Fixed by #23463
Closed

Add useCurrentTimestamp flag for Jib builds #23462

twobiers opened this issue Feb 6, 2022 · 1 comment · Fixed by #23463
Labels
Milestone

Comments

@twobiers
Copy link
Contributor

twobiers commented Feb 6, 2022

Description

By default Jib will build with a timestamp set to Unix epoch, see: https://github.com/GoogleContainerTools/jib/blob/master/docs/faq.md#why-is-my-image-created-48-years-ago. However, the Quarkus extension sets the build time by default to the current timestamp, which can be counterproductive if you plan to ship reproducable builds.

Implementation ideas

A simple configuration flag like useCurrentTimestamp which defaults to true to not break the current behaviour would do its job I think.

@twobiers twobiers added the kind/enhancement New feature or request label Feb 6, 2022
@quarkus-bot
Copy link

quarkus-bot bot commented Feb 6, 2022

/cc @geoand

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

Successfully merging a pull request may close this issue.

2 participants