Skip to content

Commit

Permalink
update
Browse files Browse the repository at this point in the history
  • Loading branch information
nianyush committed Oct 17, 2023
1 parent 45f04ab commit ea122ba
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,8 @@ ARG NO_PROXY
FROM $BASE

COPY sc.crt /tmp/sc.crt

RUN echo ${OS_DISTRIBUTION}
RUN echo ${PROXY_CERT_PATH}
RUN if [ "${OS_DISTRIBUTION}" = "ubuntu" ] && [ ! -z ${PROXY_CERT_PATH} ]; then \
cp /tmp/sc.crt /etc/ssl/certs && \
update-ca-certificates; \
Expand Down

0 comments on commit ea122ba

Please sign in to comment.