From 3abfd752013713a9603fa85434783823b327ab1d Mon Sep 17 00:00:00 2001 From: Hitesh Nayak Date: Sat, 18 Jan 2025 00:20:05 +0530 Subject: [PATCH] fix(jenkins): missing ca-certificates pkg in latest alpine image --- hiteshnayak305/jenkins@2.479.3-alpine/Dockerfile | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/hiteshnayak305/jenkins@2.479.3-alpine/Dockerfile b/hiteshnayak305/jenkins@2.479.3-alpine/Dockerfile index ad61a85..7ab7999 100644 --- a/hiteshnayak305/jenkins@2.479.3-alpine/Dockerfile +++ b/hiteshnayak305/jenkins@2.479.3-alpine/Dockerfile @@ -9,8 +9,9 @@ LABEL description="This is a customized Jenkins Image to be deployed in local ku # Install custom Root CA Certificate USER root COPY common/custom.crt /usr/local/share/ca-certificates/ -RUN update-ca-certificates && \ - ${JAVA_HOME}/bin/keytool -import -cacerts -noprompt\ +RUN apk --no-cache add ca-certificates && \ + update-ca-certificates && \ + ${JAVA_HOME}/bin/keytool -import -cacerts -noprompt \ -alias custom \ -storepass changeit \ -file /usr/local/share/ca-certificates/custom.crt