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

Set CGO_ENABLED=0 in Dockerfile for fully-static builds #132

Open
wants to merge 2 commits into
base: master
Choose a base branch
from

Conversation

korbin
Copy link

@korbin korbin commented Apr 26, 2019

This PR sets CGO_ENABLED=0 in Dockerfile so that libc.musl isn't dynamically linked.

With this PR, COPY --from=jwilder/dockerize /usr/local/bin/dockerize /usr/local/bin/dockerize should work on all like-architecture Linux images.

@gilbsgilbs
Copy link

Any chance this can be merged and released on Docker hub? How can we help you, @jwilder? Cutting out a new release would also fix #143 apparently.

Thank you for the great work 🙏!

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.

4 participants