diff --git a/Dockerfile b/Dockerfile index 96d021f..c2a5b57 100644 --- a/Dockerfile +++ b/Dockerfile @@ -5,7 +5,7 @@ ADD . /build/ RUN mkdir /tmp/cache -RUN export GARCH="$(uname -m)" && if [[ ${GARCH} == "x86_64" ]]; then export GARCH="amd64"; fi && GOOS=linux GOARCH=${GARCH} CGO_ENABLED=0 GOCACHE=/tmp/cache go build -mod=vendor -v -o /tmp/api-server . +RUN CGO_ENABLED=0 GOCACHE=/tmp/cache go build -mod=vendor -v -o /tmp/api-server . FROM scratch