From 1ecd47e0073ad2e24269601abbd7dfb726e7d6cc Mon Sep 17 00:00:00 2001 From: Andrew Hsu Date: Wed, 3 Oct 2018 00:28:39 +0000 Subject: [PATCH] bump Dockerfile golang from 1.10 to 1.11 Signed-off-by: Andrew Hsu --- Dockerfile | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/Dockerfile b/Dockerfile index 24c089d..d71a11b 100644 --- a/Dockerfile +++ b/Dockerfile @@ -1,11 +1,11 @@ -FROM golang:1.10.4-alpine3.8 as build +FROM golang:1.11.1-alpine3.8 as build WORKDIR /go/src/github.com/securego/gosec COPY . . RUN apk add -U git make RUN go get -u github.com/golang/dep/cmd/dep RUN make -FROM golang:1.10.4-alpine3.8 +FROM golang:1.11.1-alpine3.8 RUN apk add -U gcc musl-dev COPY --from=build /go/src/github.com/securego/gosec/gosec /usr/local/bin/gosec ENTRYPOINT ["gosec"]