From 869791fc9301b0e0931191f4765e373e5e7caaf0 Mon Sep 17 00:00:00 2001 From: Nianyu Shen Date: Sun, 15 Sep 2024 21:27:42 -0700 Subject: [PATCH] fix cp Signed-off-by: Nianyu Shen --- Dockerfile | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/Dockerfile b/Dockerfile index 738030c..d45a4b9 100644 --- a/Dockerfile +++ b/Dockerfile @@ -10,16 +10,16 @@ ARG NO_PROXY WORKDIR /certs COPY certs/ /certs/ RUN if [ "${OS_DISTRIBUTION}" = "ubuntu" ]; then \ - cp -f /certs/ /usr/local/share/ca-certificates/ && \ + cp -f /certs/* /usr/local/share/ca-certificates/ && \ update-ca-certificates; \ fi RUN if [ "${OS_DISTRIBUTION}" = "opensuse-leap" ]; then \ - cp -f /certs/ /tmp//usr/share/pki/trust/anchors/ && \ + cp -f /certs/* /tmp//usr/share/pki/trust/anchors/ && \ update-ca-certificates; \ fi RUN if [ "${OS_DISTRIBUTION}" = "rhel" ]; then \ - cp -f /certs/ /etc/pki/ca-trust/source/anchors/ && \ + cp -f /certs/* /etc/pki/ca-trust/source/anchors/ && \ update-ca-trust; \ fi RUN rm -rf /certs