diff --git a/build/Dockerfile b/build/Dockerfile index 7abcb70..4903216 100644 --- a/build/Dockerfile +++ b/build/Dockerfile @@ -1,4 +1,4 @@ -FROM golang:1.20.6-bookworm +FROM golang:1.21.3-bookworm ARG GH_VERSION='1.9.2' diff --git a/go.mod b/go.mod index 5e5472b..f1772d5 100644 --- a/go.mod +++ b/go.mod @@ -1,6 +1,6 @@ module github.com/newrelic/nri-mongodb -go 1.20 +go 1.21 require ( github.com/globalsign/mgo v0.0.0-20181015135952-eeefdecb41b8 diff --git a/tests/integration/Dockerfile b/tests/integration/Dockerfile index 0af61c4..c3eb186 100644 --- a/tests/integration/Dockerfile +++ b/tests/integration/Dockerfile @@ -1,4 +1,4 @@ -FROM golang:1.20.6-bookworm as builder +FROM golang:1.21.3-bookworm as builder ARG CGO_ENABLED=0 WORKDIR /go/src/github.com/newrelic/nri-mongodb COPY . .