From e9a0e791af919ddf74349cdbb11acc325ee1b48b Mon Sep 17 00:00:00 2001 From: viferga Date: Wed, 4 Nov 2020 10:12:53 -0900 Subject: [PATCH] Change order of GC and nss-certs in order to garbage collect the nss-certs too. --- Dockerfile | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Dockerfile b/Dockerfile index dd7d3a9..836c08f 100644 --- a/Dockerfile +++ b/Dockerfile @@ -71,7 +71,7 @@ COPY channels/ /root/.config/guix/ # Run pull (https://github.com/docker/buildx/blob/master/README.md#--allowentitlement) # Restart with latest version of the daemon and garbage collect RUN --security=insecure sh -c '/entry-point.sh guix pull' \ - && sh -c '/entry-point.sh guix gc --optimize && guix gc && guix package --fallback -i nss-certs' + && sh -c '/entry-point.sh guix package --fallback -i nss-certs && guix gc && guix gc --optimize' ENTRYPOINT ["/entry-point.sh"] CMD ["sh"]