From dc6352d14ac8d22020c0f2ae0b9a32ea02998e78 Mon Sep 17 00:00:00 2001 From: viferga Date: Thu, 19 Sep 2019 11:20:18 -0800 Subject: [PATCH] Remove nss certs completely. --- Dockerfile | 6 ++---- 1 file changed, 2 insertions(+), 4 deletions(-) diff --git a/Dockerfile b/Dockerfile index fd73743..0bd9ef6 100644 --- a/Dockerfile +++ b/Dockerfile @@ -32,9 +32,7 @@ LABEL copyright.name="Vicente Eduardo Ferrer Garcia" \ ARG METACALL_GUIX_VERSION ARG METACALL_GUIX_ARCH -ENV GUIX_PROFILE="/root/.config/guix/current" \ - GIT_SSL_CAINFO="${GUIX_PROFILE}/etc/ssl/certs/ca-certificates.crt${GIT_SSL_CAINFO:+:}$GIT_SSL_CAINFO" \ - SSL_CERT_DIR="${GUIX_PROFILE}/etc/ssl/certs${SSL_CERT_DIR:+:}$SSL_CERT_DIR" +ENV GUIX_PROFILE="/root/.config/guix/current" # Copy entry point COPY scripts/entry-point.sh /entry-point.sh @@ -65,7 +63,7 @@ RUN apk add --no-cache --update --virtual .build-deps shadow \ # Run pull (https://github.com/docker/buildx/blob/master/README.md#--allowentitlement) RUN --security=insecure source $GUIX_PROFILE/etc/profile \ - && ~root/.config/guix/current/bin/guix-daemon --build-users-group=guixbuild & (guix pull; guix package -i nss-certs) + && ~root/.config/guix/current/bin/guix-daemon --build-users-group=guixbuild & guix pull ENTRYPOINT ["/entry-point.sh"] CMD ["sh"]