diff --git a/build/Dockerfile b/build/Dockerfile index 26deea5a0..aa24fdad9 100644 --- a/build/Dockerfile +++ b/build/Dockerfile @@ -1,4 +1,4 @@ -ARG GO_VERSION=1.21 +ARG GO_VERSION=1.22 FROM golang:$GO_VERSION diff --git a/docker-compose.yml b/docker-compose.yml index 412f38f0b..bffe62b91 100644 --- a/docker-compose.yml +++ b/docker-compose.yml @@ -1,7 +1,7 @@ version: "3" services: golang: - image: golang:1.21-bullseye + image: golang:1.22-bullseye volumes: - .:/go/src/github.com/newrelic/nri-flex working_dir: /go/src/github.com/newrelic/nri-flex diff --git a/go.mod b/go.mod index d8aefa42b..80ca6ba14 100644 --- a/go.mod +++ b/go.mod @@ -1,6 +1,6 @@ module github.com/newrelic/nri-flex -go 1.21 +go 1.22.4 require ( github.com/Knetic/govaluate v3.0.0+incompatible diff --git a/scripts/docker-compose-build.yml b/scripts/docker-compose-build.yml index a4ae28011..cfcbb03ba 100644 --- a/scripts/docker-compose-build.yml +++ b/scripts/docker-compose-build.yml @@ -1,7 +1,7 @@ version: "3" services: golang: - image: golang:1.21-bullseye + image: golang:1.22-bullseye volumes: - ../:/go/src/github.com/newrelic/nri-flex working_dir: /go/src/github.com/newrelic/nri-flex diff --git a/tools/go.mod b/tools/go.mod index 6b57eecb2..e3b259ef0 100644 --- a/tools/go.mod +++ b/tools/go.mod @@ -1,6 +1,6 @@ module github.com/newrelic/nri-flex/tools -go 1.21 +go 1.22.4 require ( github.com/AlekSi/gocov-xml v1.1.0