Skip to content

Commit 069f3a5

Browse files
Locate/Heartbeat: Update go version to 1.20 (#159)
Update go version to 1.20
1 parent eaa0351 commit 069f3a5

File tree

4 files changed

+5
-5
lines changed

4 files changed

+5
-5
lines changed

.travis.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@ dist: focal
22

33
language: go
44
go:
5-
- 1.18
5+
- 1.20
66

77
addons:
88
apt:

Dockerfile

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
FROM golang:1.18
1+
FROM golang:1.20
22
ADD . /go/src/github.com/m-lab/locate
33
WORKDIR /go/src/github.com/m-lab/locate
44
RUN go get -v github.com/m-lab/locate && \

cmd/heartbeat/Dockerfile.heartbeat

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
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
33
RUN apk add git
44
ADD . /go/src/github.com/m-lab/locate
55
WORKDIR /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
1212
COPY --from=build /go/bin/heartbeat /
1313
WORKDIR /
1414
ENTRYPOINT ["/heartbeat"]

go.mod

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
module github.com/m-lab/locate
22

3-
go 1.18
3+
go 1.20
44

55
require (
66
cloud.google.com/go/secretmanager v1.4.0

0 commit comments

Comments
 (0)