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