update Dockerfile

This commit is contained in:
Shawn Smith
2021-04-27 16:46:36 +09:00
parent 4e27e41bd9
commit e20089c74d

View File

@@ -1,8 +1,10 @@
FROM golang:1.12.5-alpine FROM golang:1.16.3-alpine
RUN apk add --update --no-cache git make \ RUN apk add --update --no-cache git make \
&& go get golang.org/x/tools/go/vcs && go get golang.org/x/tools/go/vcs
RUN apk add build-base
COPY . $GOPATH/src/github.com/gojp/goreportcard COPY . $GOPATH/src/github.com/gojp/goreportcard
WORKDIR $GOPATH/src/github.com/gojp/goreportcard WORKDIR $GOPATH/src/github.com/gojp/goreportcard