From bf2ebf9c34ea0b2adec74ca1ff9cbb2075af7359 Mon Sep 17 00:00:00 2001 From: Gerard Snaauw <33763579+gerardsn@users.noreply.github.com> Date: Tue, 28 Jan 2025 11:58:06 +0100 Subject: [PATCH] update min go version and cleanup dockerfile (#3670) --- Dockerfile | 8 ++------ docs/pages/release_notes.rst | 10 ++++++++++ go.mod | 2 +- 3 files changed, 13 insertions(+), 7 deletions(-) diff --git a/Dockerfile b/Dockerfile index 51a7ebe6b..4a11805b0 100644 --- a/Dockerfile +++ b/Dockerfile @@ -1,5 +1,5 @@ # golang alpine -FROM golang:1.23.4-alpine as builder +FROM golang:1.23.5-alpine as builder ARG TARGETARCH ARG TARGETOS @@ -10,11 +10,7 @@ ARG GIT_VERSION=undefined LABEL maintainer="wout.slakhorst@nuts.nl" -RUN apk update \ - && update-ca-certificates - -ENV GO111MODULE on -ENV GOPATH / +ENV GOPATH=/ RUN mkdir /opt/nuts && cd /opt/nuts COPY go.mod . diff --git a/docs/pages/release_notes.rst b/docs/pages/release_notes.rst index daedc88da..185547124 100644 --- a/docs/pages/release_notes.rst +++ b/docs/pages/release_notes.rst @@ -3,6 +3,16 @@ Release notes ############# +************************* +Hazelnut update (v5.4.14) +************************* + +Release date: 2025-01-28 + +- Update minimal GO version to 1.23.5 to fix vulnerabilities. + +**Full Changelog**: https://github.com/nuts-foundation/nuts-node/compare/v5.4.13...v5.4.14 + ************************* Hazelnut update (v5.4.13) ************************* diff --git a/go.mod b/go.mod index 5b9d37bd4..8f2c28ce8 100644 --- a/go.mod +++ b/go.mod @@ -2,7 +2,7 @@ module github.com/nuts-foundation/nuts-node // This is the minimal version, the actual go version is determined by the images in the Dockerfile // This version is used in automated tests such as the 'Scheduled govulncheck' action -go 1.23.4 +go 1.23.5 require ( github.com/alicebob/miniredis/v2 v2.33.0