From e2c261f553cd8139fb95a78d53509bfee64243ea Mon Sep 17 00:00:00 2001 From: Wouter Deconinck <wdconinc@gmail.com> Date: Mon, 2 Sep 2024 22:34:30 +0000 Subject: [PATCH] feat: mv git gc to builder --- containers/jug/dev.Dockerfile | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) diff --git a/containers/jug/dev.Dockerfile b/containers/jug/dev.Dockerfile index 193be431d..d035a7432 100644 --- a/containers/jug/dev.Dockerfile +++ b/containers/jug/dev.Dockerfile @@ -56,6 +56,7 @@ if [ -n "${SPACK_CHERRYPICKS}" ] ; then fi done fi +git -C $SPACK_ROOT gc --prune=all --aggressive sed -i 's/timeout=60/timeout=None/' $SPACK_ROOT/lib/spack/spack/stage.py ln -s $SPACK_ROOT/share/spack/docker/entrypoint.bash /usr/bin/docker-shell ln -s $SPACK_ROOT/share/spack/docker/entrypoint.bash /usr/bin/interactive-shell @@ -255,9 +256,6 @@ WORKDIR / ## ======================================================================================== FROM builder as staging -# Garbage collect in git -#RUN git -C $SPACK_ROOT gc --prune=all --aggressive - ## Bugfix to address issues loading the Qt5 libraries on Linux kernels prior to 3.15 ## See #https://askubuntu.com/questions/1034313/ubuntu-18-4-libqt5core-so-5-cannot-open-shared-object-file-no-such-file-or-dir -- GitLab