Skip to content

Conversation

alexhulbert
Copy link
Member

No description provided.

Comment on lines +14 to +15
ARG SOURCE_DATE_EPOCH=0
RUN CGO_ENABLED=0 go build \
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

question:

any specific reason why SOURCE_DATE_EPOCH=0 is passed as an ARG while CGO_ENABLED=0 injected on command line?

use: buildx
build_flag_templates:
- --platform=linux/amd64
- --build-arg=SOURCE_DATE_EPOCH=0
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

question:

shouldn't CGO_ENABLED=0 also be added here?

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

Successfully merging this pull request may close these issues.

2 participants