From 359a470ada4c31d6c39b5fe2fb871f6123857468 Mon Sep 17 00:00:00 2001 From: Lukas Holecek Date: Mar 19 2021 09:17:52 +0000 Subject: Remove unused Dockerfile ARG cacert_url --- diff --git a/Dockerfile b/Dockerfile index 445a4b7..c8ddd0c 100644 --- a/Dockerfile +++ b/Dockerfile @@ -5,9 +5,6 @@ LABEL \ license="GPLv2+" \ build-date="" -# The caller can optionally provide a cacert url -ARG cacert_url=undefined - WORKDIR /src RUN dnf -y install \ git-core \ @@ -23,12 +20,6 @@ RUN dnf -y install \ && dnf -y clean all \ && rm -rf /tmp/* -RUN if [ "$cacert_url" != "undefined" ]; then \ - cd /etc/pki/ca-trust/source/anchors \ - && curl -O --insecure $cacert_url \ - && update-ca-trust extract; \ - fi - # This will allow a non-root user to install a custom root CA at run-time RUN chmod 777 /etc/pki/tls/certs/ca-bundle.crt