diff --git a/Dockerfile b/Dockerfile index cb593ba..8fc2456 100644 --- a/Dockerfile +++ b/Dockerfile @@ -3,7 +3,7 @@ RUN git clone https://github.com/newrelic/nrjmx.git && \ cd nrjmx && \ mvn package -DskipTests -P \!deb,\!rpm,\!test,\!tarball -FROM golang:1.22.9 as builder +FROM golang:1.23.4 as builder COPY . /go/src/github.com/newrelic/nri-jmx/ RUN cd /go/src/github.com/newrelic/nri-jmx && \ make && \ diff --git a/build/Dockerfile b/build/Dockerfile index d1e4468..619e384 100644 --- a/build/Dockerfile +++ b/build/Dockerfile @@ -1,4 +1,4 @@ -FROM golang:1.22.9-bookworm +FROM golang:1.23.4-bookworm ARG GH_VERSION='2.0.0' diff --git a/go.mod b/go.mod index 019cf83..8e8252a 100644 --- a/go.mod +++ b/go.mod @@ -1,6 +1,6 @@ module github.com/newrelic/nri-jmx -go 1.22.9 +go 1.23.4 require ( github.com/kr/pretty v0.3.0 diff --git a/internal/tools/go.mod b/internal/tools/go.mod index 85f4bc0..08335bc 100644 --- a/internal/tools/go.mod +++ b/internal/tools/go.mod @@ -1,6 +1,6 @@ module github.com/nri-jmx/internal/tools -go 1.22.0 +go 1.23.4 require github.com/josephspurrier/goversioninfo v1.4.1 diff --git a/test/integration/Dockerfile b/test/integration/Dockerfile index 2b2a248..8279f40 100644 --- a/test/integration/Dockerfile +++ b/test/integration/Dockerfile @@ -1,4 +1,4 @@ -FROM golang:1.22.9 as builder +FROM golang:1.23.4 as builder ARG CGO_ENABLED=0 ARG NRJMX_VERSION WORKDIR /go/src/github.com/newrelic/nri-jmx diff --git a/tools/go.mod b/tools/go.mod index 898ec92..01eade5 100644 --- a/tools/go.mod +++ b/tools/go.mod @@ -1,8 +1,6 @@ module github.com/newrelic/nri-jmx/tools -go 1.22.1 - -toolchain go1.23.4 +go 1.23.4 require github.com/golangci/golangci-lint v1.62.2