Skip to content

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

Open
korbin wants to merge 2 commits intojwilder:masterfrom
korbin:master
Open

Set CGO_ENABLED=0 in Dockerfile for fully-static builds#132
korbin wants to merge 2 commits intojwilder:masterfrom
korbin:master

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