From 45c84aa759a456890c18c0fa900f7634b0db747c Mon Sep 17 00:00:00 2001 From: AJ Bahnken Date: Wed, 30 May 2018 12:48:59 -0700 Subject: [PATCH] Explicitly enabled cgo within Dockerfile build --- Dockerfile | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Dockerfile b/Dockerfile index efd99aa57..f97a8dffc 100644 --- a/Dockerfile +++ b/Dockerfile @@ -3,7 +3,7 @@ FROM golang:1.8 COPY . /go/src/go.mozilla.org/sops WORKDIR /go/src/go.mozilla.org/sops -RUN CGO_ENABLED=0 GOOS=linux go build -a -installsuffix cgo -o /bin/sops ./cmd/sops +RUN CGO_ENALBED=1 go build -a -o /bin/sops ./cmd/sops RUN apt-get update RUN apt-get install -y vim python-pip emacs RUN pip install awscli