Skip to content

Commit dfebae8

Browse files
authored
Update Go version to 1.17 (#211)
1 parent 95a9597 commit dfebae8

File tree

2 files changed

+13
-2
lines changed

2 files changed

+13
-2
lines changed

build/Dockerfile

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
FROM golang:1.16 as base
1+
FROM golang:1.17 as base
22
ARG VERSION
33
ARG GIT_COMMIT
44
ARG DATE

go.mod

Lines changed: 12 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,9 +1,20 @@
11
module github.com/nginxinc/nginx-prometheus-exporter
22

3-
go 1.16
3+
go 1.17
44

55
require (
66
github.com/nginxinc/nginx-plus-go-client v0.8.0
77
github.com/prometheus/client_golang v1.11.0
88
github.com/prometheus/common v0.30.0
99
)
10+
11+
require (
12+
github.com/beorn7/perks v1.0.1 // indirect
13+
github.com/cespare/xxhash/v2 v2.1.1 // indirect
14+
github.com/golang/protobuf v1.4.3 // indirect
15+
github.com/matttproud/golang_protobuf_extensions v1.0.1 // indirect
16+
github.com/prometheus/client_model v0.2.0 // indirect
17+
github.com/prometheus/procfs v0.6.0 // indirect
18+
golang.org/x/sys v0.0.0-20210603081109-ebe580a85c40 // indirect
19+
google.golang.org/protobuf v1.26.0-rc.1 // indirect
20+
)

0 commit comments

Comments
 (0)