File tree Expand file tree Collapse file tree 4 files changed +5
-5
lines changed
Expand file tree Collapse file tree 4 files changed +5
-5
lines changed Original file line number Diff line number Diff line change @@ -2,7 +2,7 @@ dist: focal
22
33language : go
44go :
5- - 1.18
5+ - 1.20
66
77addons :
88 apt :
Original file line number Diff line number Diff line change 1- FROM golang:1.18
1+ FROM golang:1.20
22ADD . /go/src/github.com/m-lab/locate
33WORKDIR /go/src/github.com/m-lab/locate
44RUN go get -v github.com/m-lab/locate && \
Original file line number Diff line number Diff line change 11# Built the command using a golang base image.
2- FROM golang:1.18.3 -alpine3.16 AS build
2+ FROM golang:1.20 -alpine3.18 AS build
33RUN apk add git
44ADD . /go/src/github.com/m-lab/locate
55WORKDIR /go/src/github.com/m-lab/locate
@@ -8,7 +8,7 @@ RUN CGO_ENABLED=0 go install -v \
88 ./cmd/heartbeat
99
1010# Now copy the resulting command into the minimal base image.
11- FROM alpine:3.16
11+ FROM alpine:3.18
1212COPY --from=build /go/bin/heartbeat /
1313WORKDIR /
1414ENTRYPOINT ["/heartbeat"]
Original file line number Diff line number Diff line change 11module github.com/m-lab/locate
22
3- go 1.18
3+ go 1.20
44
55require (
66 cloud.google.com/go/secretmanager v1.4.0
You can’t perform that action at this time.
0 commit comments