diff --git a/Dockerfile b/Dockerfile index f1b03ff2..3911131e 100644 --- a/Dockerfile +++ b/Dockerfile @@ -1,4 +1,4 @@ -FROM golang:1.21.3 as builder-kafka +FROM golang:1.22.0 as builder-kafka COPY . /go/src/github.com/newrelic/nri-kafka/ RUN cd /go/src/github.com/newrelic/nri-kafka && \ make && \ diff --git a/build/Dockerfile b/build/Dockerfile index abbc489e..a3bcc86b 100644 --- a/build/Dockerfile +++ b/build/Dockerfile @@ -1,4 +1,4 @@ -FROM golang:1.21.3-bookworm +FROM golang:1.22.0-bookworm ARG GH_VERSION='1.6.0' diff --git a/go.mod b/go.mod index 93518913..a8049832 100644 --- a/go.mod +++ b/go.mod @@ -1,6 +1,6 @@ module github.com/newrelic/nri-kafka -go 1.21 +go 1.22.0 require ( github.com/IBM/sarama v1.41.3 diff --git a/tests/integration/Dockerfile b/tests/integration/Dockerfile index 3ba04ec4..d33bcab7 100644 --- a/tests/integration/Dockerfile +++ b/tests/integration/Dockerfile @@ -1,4 +1,4 @@ -FROM golang:1.21.3 as builder +FROM golang:1.22.0 as builder ARG CGO_ENABLED=0 ARG NRJMX_VERSION WORKDIR /go/src/github.com/newrelic/nri-kafka