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