File tree Expand file tree Collapse file tree 3 files changed +9
-4
lines changed Expand file tree Collapse file tree 3 files changed +9
-4
lines changed Original file line number Diff line number Diff line change 1
- ARG BASE=1.9.3 -alpine3.7
1
+ ARG BASE=1.13.1 -alpine3.10
2
2
FROM golang:${BASE} as build
3
3
4
4
WORKDIR /usr/src/app
@@ -8,12 +8,10 @@ RUN apk add --no-cache jq
8
8
RUN export go_version=$(go version | cut -d ' ' -f 3) && \
9
9
cat engine.json.template | jq '.version = .version + "/" + env.go_version' > ./engine.json
10
10
11
- COPY codeclimate-govet.go ./
11
+ COPY codeclimate-govet.go go.mod go.sum ./
12
12
RUN apk add --no-cache git
13
- RUN go get -t -d -v ./...
14
13
RUN go build -o codeclimate-govet .
15
14
16
-
17
15
FROM golang:${BASE}
18
16
19
17
LABEL maintainer="Code Climate <hello@codeclimate.com>"
Original file line number Diff line number Diff line change
1
+ module github.com/codeclimate-community/codeclimate-govet
2
+
3
+ go 1.13
4
+
5
+ require github.com/codeclimate/cc-engine-go v0.0.0-20160217183426-55f9c825e2a9
Original file line number Diff line number Diff line change
1
+ github.com/codeclimate/cc-engine-go v0.0.0-20160217183426-55f9c825e2a9 h1:Wk8UDfEjmZtZI8guLovZZ1QXkbGIPWy2cpeYS2JgKPg =
2
+ github.com/codeclimate/cc-engine-go v0.0.0-20160217183426-55f9c825e2a9 /go.mod h1:A0vs4JxevyA0WJrMjU/5sedZBlICgsdPloAKENM2JmU =
You can’t perform that action at this time.
0 commit comments