1
0
mirror of https://github.com/getsops/sops.git synced 2026-02-05 12:45:21 +01:00

Merge pull request #353 from ajvb/ajvb/enable-use-of-cgo-in-docker

Explicitly enabled cgo within Dockerfile build
This commit is contained in:
AJ Bahnken
2018-05-31 09:23:22 -07:00
committed by GitHub

View File

@@ -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