Skip to content

Commit

Permalink
fix(jenkins): missing ca-certificates pkg in latest alpine image
Browse files Browse the repository at this point in the history
  • Loading branch information
hiteshnayak305 committed Jan 17, 2025
1 parent f2fe371 commit 3abfd75
Showing 1 changed file with 3 additions and 2 deletions.
5 changes: 3 additions & 2 deletions hiteshnayak305/[email protected]/Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down

0 comments on commit 3abfd75

Please sign in to comment.