From 90208da8a5035d3f2531f32fc763a889ed09b624 Mon Sep 17 00:00:00 2001 From: Jonathon Anderson <17242663+blue42u@users.noreply.github.com> Date: Wed, 12 Jul 2023 16:03:10 -0500 Subject: containers: retain shallow git data (#37734) --- share/spack/templates/container/bootstrap-base.dockerfile | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'share') diff --git a/share/spack/templates/container/bootstrap-base.dockerfile b/share/spack/templates/container/bootstrap-base.dockerfile index e002cce02e..ac069bbe37 100644 --- a/share/spack/templates/container/bootstrap-base.dockerfile +++ b/share/spack/templates/container/bootstrap-base.dockerfile @@ -23,7 +23,7 @@ RUN ln -s $SPACK_ROOT/share/spack/docker/entrypoint.bash \ RUN mkdir -p /root/.spack \ && cp $SPACK_ROOT/share/spack/docker/modules.yaml \ /root/.spack/modules.yaml \ - && rm -rf /root/*.* /run/nologin $SPACK_ROOT/.git + && rm -rf /root/*.* /run/nologin # [WORKAROUND] # https://superuser.com/questions/1241548/ -- cgit v1.2.3-70-g09d2