dockerize icon indicating copy to clipboard operation
dockerize copied to clipboard

Set CGO_ENABLED=0 in Dockerfile for fully-static builds

Open korbin opened this issue 6 years ago • 1 comments

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.

korbin avatar Apr 26 '19 20:04 korbin

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 :pray:!

gilbsgilbs avatar Dec 10 '19 16:12 gilbsgilbs