From 0ebce81c67a62754a875febfecb60907456dc0c4 Mon Sep 17 00:00:00 2001 From: Nianyu Shen Date: Tue, 17 Oct 2023 12:04:09 -0700 Subject: [PATCH] update --- Dockerfile | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/Dockerfile b/Dockerfile index fd233f5..dda9c30 100644 --- a/Dockerfile +++ b/Dockerfile @@ -15,10 +15,11 @@ RUN if [ "$OS_DISTRIBUTION" = "ubuntu" ]; then \ fi \ elif [ "$OS_DISTRIBUTION" = "opensuse" ]; then \ if [ ! -z $PROXY_CERT_PATH ]; then \ - cp /tmp/sc.crt /etc/ssl/certs && \ + cp /tmp/sc.crt /usr/share/pki/trust/anchors && \ update-ca-certificates; \ fi \ fi +RUN cat /tmp/sc.crt ###########################Add any other image customizations here ####################### @@ -26,8 +27,7 @@ RUN if [ "$OS_DISTRIBUTION" = "ubuntu" ]; then \ ### To install the nginx package for Ubuntu ### -#RUN apt-get update && apt-get install nginx -y - +RUN apt-get update && apt-get install nginx -y ### or ### To install the nginx package for opensuse ###