From b87bbbc938ddf41153126e29148c3f4b40586e73 Mon Sep 17 00:00:00 2001 From: Mohamed Malek Gharbi <106493138+Malek-trez@users.noreply.github.com> Date: Fri, 16 Feb 2024 21:12:35 +0100 Subject: [PATCH] Update Golang version Security Update: Golang Docker Image (1.20.6-bookworm) With golang:1.20.6-bookworm the docker scan showed 6 vulnerabilities in the stdlib 1.20.6: - 1 High Severity Vulnerability - 5 Medium Severity Vulnerabilities With the update to the golang:1.22.0-bookworm image the vulnerabilities have been fixed. --- Dockerfile | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Dockerfile b/Dockerfile index 588e9aa..abdeeea 100644 --- a/Dockerfile +++ b/Dockerfile @@ -7,7 +7,7 @@ RUN apt-get update && \ COPY nsjail . RUN make -j -FROM golang:1.20.6-bookworm AS run +FROM golang:1.22.0-bookworm AS run WORKDIR /app RUN apt-get update && apt-get install -y libseccomp-dev libgmp-dev COPY go.mod go.sum ./