Skip to content

Commit 96e7858

Browse files
committed
move "git submodule update" earlier in docker creation
1 parent 1eff1c5 commit 96e7858

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

.gitpod.yml

+1-2
Original file line numberDiff line numberDiff line change
@@ -14,7 +14,6 @@ tasks:
1414
python setup.py build_ext --inplace
1515
echo "🛠 Completed rebuilding NumPy!! 🛠 "
1616
echo "📖 Building docs 📖 "
17-
git submodule update --init
1817
cd doc
1918
make html
2019
echo "✨ Pre-build complete! You can close this terminal ✨ "
@@ -60,4 +59,4 @@ github:
6059
# add a "Review in Gitpod" button to the pull request's description (defaults to false)
6160
addBadge: false
6261
# add a label once the prebuild is ready to pull requests (defaults to false)
63-
addLabel: false
62+
addLabel: false

tools/gitpod/gitpod.Dockerfile

+1
Original file line numberDiff line numberDiff line change
@@ -8,6 +8,7 @@ COPY --chown=gitpod . /tmp/numpy_repo
88

99
# the clone should be deep enough for versioneer to work
1010
RUN git clone --shallow-since=2021-05-22 file:////tmp/numpy_repo /tmp/numpy
11+
RUN git submodule update --init
1112

1213
# -----------------------------------------------------------------------------
1314
# Using the numpy-dev Docker image as a base

0 commit comments

Comments
 (0)