Skip to content
Snippets Groups Projects
Commit e2c261f5 authored by Wouter Deconinck's avatar Wouter Deconinck
Browse files

feat: mv git gc to builder

parent 46dd75a1
No related branches found
No related tags found
1 merge request!988feat: remove staging layer in container build
This commit is part of merge request !988. Comments created here will be created in the context of that merge request.
......@@ -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
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment