diff --git a/Dockerfile b/Dockerfile index d6715e9..c4ae984 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 as builder +FROM golang:1.23 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 2419f09..319b364 100644 --- a/build/Dockerfile +++ b/build/Dockerfile @@ -1,4 +1,4 @@ -FROM golang:1.22-bookworm +FROM golang:1.23-bookworm ARG GH_VERSION='2.0.0' diff --git a/go.mod b/go.mod index 67642ce..a5bcb20 100644 --- a/go.mod +++ b/go.mod @@ -1,6 +1,6 @@ module github.com/newrelic/nri-jmx -go 1.22 +go 1.23.0 require ( github.com/kr/pretty v0.3.0 diff --git a/internal/tools/go.mod b/internal/tools/go.mod index 9bcc4d7..ab3bf9c 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.0 require github.com/josephspurrier/goversioninfo v1.4.0 diff --git a/test/integration/Dockerfile b/test/integration/Dockerfile index 0734bbf..5ef2f20 100644 --- a/test/integration/Dockerfile +++ b/test/integration/Dockerfile @@ -1,4 +1,4 @@ -FROM golang:1.22 as builder +FROM golang:1.23 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 28010eb..152dcfc 100644 --- a/tools/go.mod +++ b/tools/go.mod @@ -1,8 +1,6 @@ module github.com/newrelic/nri-jmx/tools -go 1.21 - -toolchain go1.22.2 +go 1.23.0 require github.com/golangci/golangci-lint v1.59.1