From 75d680388d642cf5b4b15b70c739da894b05ae10 Mon Sep 17 00:00:00 2001 From: Luca Comellini Date: Wed, 18 Aug 2021 12:40:44 -0700 Subject: [PATCH] Update Go version to 1.17 --- build/Dockerfile | 2 +- go.mod | 13 ++++++++++++- 2 files changed, 13 insertions(+), 2 deletions(-) diff --git a/build/Dockerfile b/build/Dockerfile index dc54d2eb..1c01938b 100644 --- a/build/Dockerfile +++ b/build/Dockerfile @@ -1,4 +1,4 @@ -FROM golang:1.16 as base +FROM golang:1.17 as base ARG VERSION ARG GIT_COMMIT ARG DATE diff --git a/go.mod b/go.mod index f685ada6..474e8e23 100644 --- a/go.mod +++ b/go.mod @@ -1,9 +1,20 @@ module github.com/nginxinc/nginx-prometheus-exporter -go 1.16 +go 1.17 require ( github.com/nginxinc/nginx-plus-go-client v0.8.0 github.com/prometheus/client_golang v1.11.0 github.com/prometheus/common v0.30.0 ) + +require ( + github.com/beorn7/perks v1.0.1 // indirect + github.com/cespare/xxhash/v2 v2.1.1 // indirect + github.com/golang/protobuf v1.4.3 // indirect + github.com/matttproud/golang_protobuf_extensions v1.0.1 // indirect + github.com/prometheus/client_model v0.2.0 // indirect + github.com/prometheus/procfs v0.6.0 // indirect + golang.org/x/sys v0.0.0-20210603081109-ebe580a85c40 // indirect + google.golang.org/protobuf v1.26.0-rc.1 // indirect +)