From 83baad399a2f823560fa15e13ffbb7645b61cae4 Mon Sep 17 00:00:00 2001 From: snyk-bot Date: Thu, 29 Jan 2026 06:21:06 +0000 Subject: [PATCH] fix: Dockerfile.offline to reduce vulnerabilities The following vulnerabilities are fixed with an upgrade: - https://snyk.io/vuln/SNYK-ALPINE323-OPENSSL-15120869 - https://snyk.io/vuln/SNYK-ALPINE323-OPENSSL-15120870 - https://snyk.io/vuln/SNYK-ALPINE323-OPENSSL-15120871 - https://snyk.io/vuln/SNYK-ALPINE323-OPENSSL-15120872 - https://snyk.io/vuln/SNYK-ALPINE323-OPENSSL-15120873 --- Dockerfile.offline | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/Dockerfile.offline b/Dockerfile.offline index 73df640..8140ca8 100644 --- a/Dockerfile.offline +++ b/Dockerfile.offline @@ -4,7 +4,7 @@ WORKDIR / COPY . / RUN make build -FROM alpine:latest as schemas +FROM alpine:3.23.3 as schemas RUN apk --no-cache add git RUN git clone --depth 1 https://github.com/instrumenta/kubernetes-json-schema.git RUN git clone --depth 1 https://github.com/garethr/openshift-json-schema.git @@ -13,7 +13,7 @@ FROM schemas as standalone-schemas RUN cd kubernetes-json-schema/master && \ find -maxdepth 1 -type d -not -name "." -not -name "*-standalone*" | xargs rm -rf -FROM alpine:latest +FROM alpine:3.23.3 RUN apk --no-cache add ca-certificates COPY --from=builder /bin/kubeval . COPY --from=standalone-schemas /kubernetes-json-schema /schemas/kubernetes-json-schema/master