Browse Source

Merge pull request #43621 from thaJeztah/fix_userland_proxy_static

fix docker-proxy not statically linked
Sebastiaan van Stijn 3 years ago
parent
commit
8abb84c734
1 changed files with 2 additions and 0 deletions
  1. 2 0
      hack/make/binary-proxy

+ 2 - 0
hack/make/binary-proxy

@@ -3,6 +3,8 @@
 set -e
 set -e
 
 
 (
 (
+	export CGO_ENABLED=0
+
 	GO_PACKAGE='github.com/docker/docker/cmd/docker-proxy'
 	GO_PACKAGE='github.com/docker/docker/cmd/docker-proxy'
 	BINARY_SHORT_NAME='docker-proxy'
 	BINARY_SHORT_NAME='docker-proxy'