bump Dockerfile golang from 1.10 to 1.11

Signed-off-by: Andrew Hsu <andrewhsu@docker.com>
This commit is contained in:
Andrew Hsu 2018-10-03 00:28:39 +00:00
parent 2cc6838ca3
commit 1ecd47e007

View file

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