Skip to content

Commit

Permalink
Change order of GC and nss-certs in order to garbage collect the nss-…
Browse files Browse the repository at this point in the history
…certs too.
  • Loading branch information
viferga committed Nov 4, 2020
1 parent 4969a60 commit e9a0e79
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -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"]

0 comments on commit e9a0e79

Please sign in to comment.