summaryrefslogtreecommitdiff
path: root/share
diff options
context:
space:
mode:
authorJonathon Anderson <17242663+blue42u@users.noreply.github.com>2023-07-12 16:03:10 -0500
committerGitHub <noreply@github.com>2023-07-12 21:03:10 +0000
commit90208da8a5035d3f2531f32fc763a889ed09b624 (patch)
tree56eda6d2e86189912f6ea41291ee313a5248bdff /share
parentc8026c3c87efe86b87913463708f076516d59328 (diff)
downloadspack-90208da8a5035d3f2531f32fc763a889ed09b624.tar.gz
spack-90208da8a5035d3f2531f32fc763a889ed09b624.tar.bz2
spack-90208da8a5035d3f2531f32fc763a889ed09b624.tar.xz
spack-90208da8a5035d3f2531f32fc763a889ed09b624.zip
containers: retain shallow git data (#37734)
Diffstat (limited to 'share')
-rw-r--r--share/spack/templates/container/bootstrap-base.dockerfile2
1 files changed, 1 insertions, 1 deletions
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/