diff --git a/Dockerfile b/Dockerfile index 0a0b05f9a..7c53c621d 100644 --- a/Dockerfile +++ b/Dockerfile @@ -9,6 +9,7 @@ ENV GOLANG_VERSION 1.9.1 ENV GOLANG_SRC_URL https://golang.org/dl/go$GOLANG_VERSION.src.tar.gz ENV GOLANG_SRC_SHA256 a84afc9dc7d64fe0fa84d4d735e2ece23831a22117b50dafc75c1484f1cb550e ENV PATH $GOPATH/bin:/usr/local/go/bin:$PATH +ENV CGO_ENABLED 0 # in one step (to prevent creating superfluous layers): # 1. fetch and install temporary build programs, # 2. build cloud-torrent alpine binary