From 872f5c6ab992d371e708eb3c845951e85a4b00d1 Mon Sep 17 00:00:00 2001 From: Wouter Deconinck <wdconinc@gmail.com> Date: Wed, 2 Oct 2024 20:01:52 +0000 Subject: [PATCH] fix: git config --global gc.autoDetach --- containers/debian/base.Dockerfile | 1 + 1 file changed, 1 insertion(+) diff --git a/containers/debian/base.Dockerfile b/containers/debian/base.Dockerfile index 0c3055376..9af02bcfa 100644 --- a/containers/debian/base.Dockerfile +++ b/containers/debian/base.Dockerfile @@ -154,6 +154,7 @@ RUN <<EOF git config --global user.email "gitlab@eicweb.phy.anl.gov" git config --global user.name "EIC Container Build Service" git config --global advice.detachedHead false +git config --global gc.autoDetach 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} gc --no-auto -- GitLab