Skip to content

Commit

Permalink
Merge pull request #249 from andrewhsu/go
Browse files Browse the repository at this point in the history
bump Dockerfile golang from 1.10 to 1.11
  • Loading branch information
Cosmin Cojocar committed Oct 3, 2018
2 parents 2cc6838 + 1ecd47e commit f9b4187
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions 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"]

0 comments on commit f9b4187

Please sign in to comment.