From b8aaa269af32fe6563b04fa0fe353d62a6673356 Mon Sep 17 00:00:00 2001 From: snyk-bot Date: Thu, 15 Aug 2024 05:55:35 +0000 Subject: [PATCH] fix: tool/codegen/Dockerfile to reduce vulnerabilities The following vulnerabilities are fixed with an upgrade: - https://snyk.io/vuln/SNYK-DEBIAN12-GIT-6846203 - https://snyk.io/vuln/SNYK-DEBIAN12-GIT-6846203 - https://snyk.io/vuln/SNYK-DEBIAN12-ZLIB-6008963 - https://snyk.io/vuln/SNYK-DEBIAN12-KRB5-7411314 - https://snyk.io/vuln/SNYK-DEBIAN12-KRB5-7411315 --- tool/codegen/Dockerfile | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/tool/codegen/Dockerfile b/tool/codegen/Dockerfile index 5a57f482e2..992d7328f9 100644 --- a/tool/codegen/Dockerfile +++ b/tool/codegen/Dockerfile @@ -1,5 +1,5 @@ # Builder image to build go program. -FROM golang:1.22.4 as BUILDER +FROM golang:1.23 as BUILDER COPY protoc-gen-auth /protoc-gen-auth RUN cd /protoc-gen-auth \ @@ -7,7 +7,7 @@ RUN cd /protoc-gen-auth \ && chmod +x /usr/local/bin/protoc-gen-auth # Codegen image which is actually being used. -FROM golang:1.22.4 +FROM golang:1.23 # This is version of protobuf installed in the image. # See https://pkgs.alpinelinux.org/packages?name=protobuf&branch=v3.16