diff options
| author | Ralf Gommers <ralf.gommers@gmail.com> | 2021-10-10 16:54:02 +0200 |
|---|---|---|
| committer | Ralf Gommers <ralf.gommers@gmail.com> | 2021-10-10 16:54:02 +0200 |
| commit | 2efcd96679408156683265d8a1184f7505679ec7 (patch) | |
| tree | 3fa8e542d79cdb26b4cb364526c5101846facf50 /tools/gitpod/gitpod.Dockerfile | |
| parent | 286e6b881e437865e4d434023038a2013bee7cf0 (diff) | |
| download | numpy-2efcd96679408156683265d8a1184f7505679ec7.tar.gz | |
BLD: fix submodule update in gitpod.Dockerfile
This is analogous to what SciPy does.
Diffstat (limited to 'tools/gitpod/gitpod.Dockerfile')
| -rw-r--r-- | tools/gitpod/gitpod.Dockerfile | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/tools/gitpod/gitpod.Dockerfile b/tools/gitpod/gitpod.Dockerfile index 40bdd20d9..7894be5bc 100644 --- a/tools/gitpod/gitpod.Dockerfile +++ b/tools/gitpod/gitpod.Dockerfile @@ -8,7 +8,6 @@ COPY --chown=gitpod . /tmp/numpy_repo # the clone should be deep enough for versioneer to work RUN git clone --shallow-since=2021-05-22 file:////tmp/numpy_repo /tmp/numpy -RUN git submodule update --init # ----------------------------------------------------------------------------- # Using the numpy-dev Docker image as a base @@ -35,6 +34,7 @@ COPY --from=clone --chown=gitpod /tmp/numpy ${WORKSPACE} WORKDIR ${WORKSPACE} # Build numpy to populate the cache used by ccache +RUN git submodule update --init --depth=1 -- numpy/core/src/umath/svml RUN conda activate ${CONDA_ENV} && \ python setup.py build_ext --inplace && \ ccache -s |
