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

buildctl: consider propagating SOURCE_DATE_EPOCH from client env to build arg by default #4227

Closed
AkihiroSuda opened this issue Sep 14, 2023 · 0 comments · Fixed by #4231
Closed

Comments

@AkihiroSuda
Copy link
Member

The `buildctl` CLI does not automatically propagate the `$SOURCE_DATE_EPOCH` environment value from the client host to the `SOURCE_DATE_EPOCH` build arg.
However, higher level build tools, such as Docker Buildx (>= 0.10), may automatically capture the environment value.

I guess we can safely propagate SOURCE_DATE_EPOCH from client env to build arg by default. I don't remember why we didn't do so in the first place though.

Related:

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

Successfully merging a pull request may close this issue.

1 participant