From e5609c86aa3ec46c3a0b7a31be954940dbac828a Mon Sep 17 00:00:00 2001 From: dougbtv Date: Fri, 13 Sep 2019 09:35:05 -0400 Subject: [PATCH] [dockerfile] Adds ENV CGO_ENABLED=0 to disable building with cgo --- Dockerfile | 1 + 1 file changed, 1 insertion(+) diff --git a/Dockerfile b/Dockerfile index fd1886420..37aaee0cb 100644 --- a/Dockerfile +++ b/Dockerfile @@ -5,6 +5,7 @@ FROM openshift/origin-release:golang-1.10 as builder ADD . /usr/src/plugins WORKDIR /usr/src/plugins +ENV CGO_ENABLED=0 RUN ./build_linux.sh && \ cd /usr/src/plugins/bin