From 8a4b2a9fa1df3306b9c13f68b0d6a975c05603cc Mon Sep 17 00:00:00 2001 From: snyk-bot Date: Fri, 23 May 2025 06:34:11 +0000 Subject: [PATCH] fix: Dockerfile to reduce vulnerabilities The following vulnerabilities are fixed with an upgrade: - https://snyk.io/vuln/SNYK-DEBIAN12-GCC12-5901316 - https://snyk.io/vuln/SNYK-DEBIAN12-GCC12-5901316 - https://snyk.io/vuln/SNYK-DEBIAN12-GCC12-5901316 - https://snyk.io/vuln/SNYK-DEBIAN12-SHADOW-5879156 - https://snyk.io/vuln/SNYK-DEBIAN12-SHADOW-5879156 --- Dockerfile | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Dockerfile b/Dockerfile index cc841dd..3b3db63 100644 --- a/Dockerfile +++ b/Dockerfile @@ -28,7 +28,7 @@ RUN curl -o kubectl1.29 -L https://storage.googleapis.com/kubernetes-release/rel RUN curl -o kubectl1.30 -L https://storage.googleapis.com/kubernetes-release/release/v1.30.0/bin/linux/${TARGETARCH}/kubectl RUN curl -o kubectl1.31 -L https://storage.googleapis.com/kubernetes-release/release/v1.31.0/bin/linux/${TARGETARCH}/kubectl -FROM debian:bookworm-20250407-slim +FROM debian:12.11-slim WORKDIR / RUN adduser --gecos "" --disabled-password --home /home/cfu --shell /bin/bash cfu USER cfu