From d371b955d1d862a0791bfdf3b44f50621b60aee0 Mon Sep 17 00:00:00 2001 From: viferga Date: Fri, 13 Dec 2019 19:59:15 -0900 Subject: [PATCH] Add nss certs again. --- Dockerfile | 10 +++++++--- 1 file changed, 7 insertions(+), 3 deletions(-) diff --git a/Dockerfile b/Dockerfile index 6401cbe..9def469 100644 --- a/Dockerfile +++ b/Dockerfile @@ -35,8 +35,10 @@ ARG METACALL_GUIX_ARCH ENV GUIX_PROFILE="/root/.config/guix/current" \ GUIX_LOCPATH="/root/.guix-profile/lib/locale/" \ SSL_CERT_DIR="/root/.guix-profile/etc/ssl/certs" \ - GIT_SSL_FILE="/root/.guix-profile/etc/ssl/certs/ca-certificates.crt" \ - GIT_SSL_CAINFO="$GIT_SSL_FILE" + SSL_CERT_FILE="/root/.guix-profile/etc/ssl/certs/ca-certificates.crt" \ + GIT_SSL_FILE="$SSL_CERT_FILE" \ + GIT_SSL_CAINFO="$SSL_CERT_FILE" \ + CURL_CA_BUNDLE="$SSL_CERT_FILE" # Copy entry point COPY scripts/entry-point.sh /entry-point.sh @@ -68,7 +70,9 @@ RUN --security=insecure /entry-point.sh guix pull # Restart with latest version of the daemon RUN --security=insecure /entry-point.sh guix gc --optimize \ - && guix gc + && guix gc \ + && guix package -i \ + nss-certs ENTRYPOINT ["/entry-point.sh"] CMD ["sh"]