From ad8e32e870526d3d1abca62961a35104280a83c8 Mon Sep 17 00:00:00 2001 From: Jaime Pillora Date: Thu, 12 Oct 2017 01:52:42 +1100 Subject: [PATCH] disable cgo --- Dockerfile | 1 + 1 file changed, 1 insertion(+) 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