diff --git a/Dockerfile-local b/Dockerfile-local index 04028116..883def1f 100644 --- a/Dockerfile-local +++ b/Dockerfile-local @@ -1,4 +1,4 @@ -FROM golang:1.21.7-bullseye as build +FROM golang:1.22.6-bullseye as build RUN apt-get update && apt-get upgrade -y diff --git a/Dockerfile.local b/Dockerfile.local index cf43b239..520c169d 100644 --- a/Dockerfile.local +++ b/Dockerfile.local @@ -1,4 +1,4 @@ -FROM golang:1.21.7-bullseye as build +FROM golang:1.22.6-bullseye as build ENV GOCACHE=/go/.go/cache GOPATH=/go/.go/path TZ=Europe/London diff --git a/ci/build.yml b/ci/build.yml index bb74d7b7..a0139108 100644 --- a/ci/build.yml +++ b/ci/build.yml @@ -6,7 +6,7 @@ image_resource: type: docker-image source: repository: golang - tag: 1.21.7-bullseye + tag: 1.22.6-bullseye inputs: - name: dp-dataset-api diff --git a/ci/lint.yml b/ci/lint.yml index 843ca272..9e49650b 100644 --- a/ci/lint.yml +++ b/ci/lint.yml @@ -6,7 +6,7 @@ image_resource: type: docker-image source: repository: golang - tag: 1.21.7-bullseye + tag: 1.22.6-bullseye inputs: - name: dp-dataset-api diff --git a/ci/unit.yml b/ci/unit.yml index bebff762..129f2a15 100644 --- a/ci/unit.yml +++ b/ci/unit.yml @@ -6,7 +6,7 @@ image_resource: type: docker-image source: repository: golang - tag: 1.21.7-bullseye + tag: 1.22.6-bullseye inputs: - name: dp-dataset-api diff --git a/go.mod b/go.mod index 655b32fc..6edf0026 100644 --- a/go.mod +++ b/go.mod @@ -1,6 +1,6 @@ module github.com/ONSdigital/dp-dataset-api -go 1.21 +go 1.22 // to avoid the following vulnerabilities: // - CVE-2022-29153 # pkg:golang/github.com/hashicorp/consul/api@v1.1.0 @@ -68,6 +68,7 @@ require ( github.com/golang/snappy v0.0.4 // indirect github.com/google/uuid v1.6.0 // indirect github.com/gopherjs/gopherjs v1.17.2 // indirect + github.com/gorilla/schema v1.4.1 // indirect github.com/gorilla/websocket v1.5.1 // indirect github.com/grpc-ecosystem/grpc-gateway/v2 v2.19.1 // indirect github.com/hashicorp/errwrap v1.1.0 // indirect diff --git a/go.sum b/go.sum index 7d20807f..48eb79b7 100644 --- a/go.sum +++ b/go.sum @@ -195,6 +195,8 @@ github.com/gorilla/mux v1.8.0/go.mod h1:DVbg23sWSpFRCP0SfiEN6jmj59UnW/n46BH5rLB7 github.com/gorilla/mux v1.8.1 h1:TuBL49tXwgrFYWhqrNgrUNEY92u81SPhu7sTdzQEiWY= github.com/gorilla/mux v1.8.1/go.mod h1:AKf9I4AEqPTmMytcMc0KkNouC66V3BtZ4qD5fmWSiMQ= github.com/gorilla/schema v1.1.0/go.mod h1:kgLaKoK1FELgZqMAVxx/5cbj0kT+57qxUrAlIO2eleU= +github.com/gorilla/schema v1.4.1 h1:jUg5hUjCSDZpNGLuXQOgIWGdlgrIdYvgQ0wZtdK1M3E= +github.com/gorilla/schema v1.4.1/go.mod h1:Dg5SSm5PV60mhF2NFaTV1xuYYj8tV8NOPRo4FggUMnM= github.com/gorilla/securecookie v1.1.1/go.mod h1:ra0sb63/xPlUeL+yeDciTfxMRAA+MP+HVt/4epWDjd4= github.com/gorilla/sessions v1.2.1/go.mod h1:dk2InVEVJ0sfLlnXv9EAgkf6ecYs/i80K/zI+bUmuGM= github.com/gorilla/websocket v1.5.1 h1:gmztn0JnHVt9JZquRuzLw3g4wouNVzKL15iLr/zn/QY=