From 467497a710a5a06b7e4109a32162afb40bc2da45 Mon Sep 17 00:00:00 2001 From: Gerard Snaauw Date: Tue, 28 Jan 2025 11:28:34 +0100 Subject: [PATCH] update min go version and cleanup dockerfile --- 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 51a7ebe6b7..4a11805b0b 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 daedc88daa..185547124b 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 5b9d37bd4a..8f2c28ce87 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