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

fix: build statically linked binaries #1680

Merged
merged 1 commit into from
Feb 23, 2023
Merged

fix: build statically linked binaries #1680

merged 1 commit into from
Feb 23, 2023

Conversation

jackwotherspoon
Copy link
Collaborator

Dockerfiles should set CGO_ENABLED=0 to statically link binaries, without it binaries are dynamically linked. This causes specific issues for alpine build as we were using the basic golang:1.X docker image to build the binary which is a debian image. Updating the alpine build to use golang:1.X-alpine for its build step.

Fixes #1678

@jackwotherspoon jackwotherspoon requested a review from a team as a code owner February 23, 2023 17:35
@jackwotherspoon jackwotherspoon self-assigned this Feb 23, 2023
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.

Docker image gce-proxy:1.33.3-alpine is missing libraries
2 participants