summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorTania Allard <taniar.allard@gmail.com>2021-05-28 18:08:02 +0100
committerTania Allard <taniar.allard@gmail.com>2021-05-28 18:08:02 +0100
commitf82b58c8375bb3f0c1ebdd8b892d9a7fd059c25e (patch)
tree68dc4e15b53db87fb2c8c0574ec9e4a0e344d849
parent8494d916510bc2258b67b9efa747f56f6992353a (diff)
downloadnumpy-f82b58c8375bb3f0c1ebdd8b892d9a7fd059c25e.tar.gz
BUG: Adjust shallow clone in the gitpod container
-rw-r--r--tools/gitpod/gitpod.Dockerfile2
1 files changed, 1 insertions, 1 deletions
diff --git a/tools/gitpod/gitpod.Dockerfile b/tools/gitpod/gitpod.Dockerfile
index eeffa42ca..7791df191 100644
--- a/tools/gitpod/gitpod.Dockerfile
+++ b/tools/gitpod/gitpod.Dockerfile
@@ -7,7 +7,7 @@ FROM gitpod/workspace-base:latest as clone
COPY --chown=gitpod . /tmp/numpy_repo
# the clone should be deep enough for versioneer to work
-RUN git clone --depth=20 file:////tmp/numpy_repo /tmp/numpy
+RUN git clone --shallow-since=2021-05-22 file:////tmp/numpy_repo /tmp/numpy
# -----------------------------------------------------------------------------
# Using the numpy-dev Docker image as a base