Skip to content

Commit 2ac10f4

Browse files
authored
Update Go and dependencies (#7)
1 parent b6919f4 commit 2ac10f4

File tree

3 files changed

+33
-407
lines changed

3 files changed

+33
-407
lines changed

Dockerfile

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
FROM --platform=$BUILDPLATFORM golang:1.16.2-alpine AS builder
1+
FROM --platform=$BUILDPLATFORM golang:1.20.7-alpine AS builder
22

33
ARG TARGETOS
44
ARG TARGETARCH

go.mod

Lines changed: 12 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -1,10 +1,17 @@
11
module github.com/xperimental/goecho
22

3-
go 1.16
3+
go 1.20
4+
5+
require github.com/prometheus/client_golang v1.16.0
46

57
require (
6-
github.com/golang/protobuf v1.5.1 // indirect
7-
github.com/prometheus/client_golang v1.10.0
8-
github.com/prometheus/common v0.19.0 // indirect
9-
golang.org/x/sys v0.0.0-20210320140829-1e4c9ba3b0c4 // indirect
8+
github.com/beorn7/perks v1.0.1 // indirect
9+
github.com/cespare/xxhash/v2 v2.2.0 // indirect
10+
github.com/golang/protobuf v1.5.3 // indirect
11+
github.com/matttproud/golang_protobuf_extensions v1.0.4 // indirect
12+
github.com/prometheus/client_model v0.4.0 // indirect
13+
github.com/prometheus/common v0.44.0 // indirect
14+
github.com/prometheus/procfs v0.11.1 // indirect
15+
golang.org/x/sys v0.11.0 // indirect
16+
google.golang.org/protobuf v1.31.0 // indirect
1017
)

0 commit comments

Comments
 (0)