From 686fe87336d87c0a466fc0e60feb69bd536e96e7 Mon Sep 17 00:00:00 2001 From: Wouter Deconinck <wdconinc@gmail.com> Date: Wed, 2 Oct 2024 16:15:59 +0000 Subject: [PATCH] fix: spack: git gc --no-auto --- containers/debian/base.Dockerfile | 1 + 1 file changed, 1 insertion(+) diff --git a/containers/debian/base.Dockerfile b/containers/debian/base.Dockerfile index 9aa43551c..d0d571518 100644 --- a/containers/debian/base.Dockerfile +++ b/containers/debian/base.Dockerfile @@ -156,6 +156,7 @@ git config --global user.name "EIC Container Build Service" git config --global advice.detachedHead false git clone --filter=tree:0 https://github.com/${SPACK_ORGREPO}.git ${SPACK_ROOT} git -C ${SPACK_ROOT} checkout ${SPACK_VERSION} +git -C ${SPACK_ROOT} --no-auto if [ -n "${SPACK_CHERRYPICKS}" ] ; then SPACK_CHERRYPICKS=$(git -C ${SPACK_ROOT} rev-list --topo-order ${SPACK_CHERRYPICKS} | grep -m $(echo ${SPACK_CHERRYPICKS} | wc -w) "${SPACK_CHERRYPICKS}" | tac) eval "declare -A SPACK_CHERRYPICKS_FILES_ARRAY=(${SPACK_CHERRYPICKS_FILES})" -- GitLab