Skip to content
Snippets Groups Projects
Commit 280ea05e authored by Wouter Deconinck's avatar Wouter Deconinck
Browse files

Use `python -m pip install` instead of using `pip` directly

parent 2912682e
No related branches found
No related tags found
1 merge request!299Use `python -m pip install` instead of using `pip` directly
......@@ -132,10 +132,11 @@ COPY requirements.txt /usr/local/etc/requirements.txt
RUN --mount=type=cache,target=/var/cache/pip \
echo "Installing additional python packages" \
&& cd /opt/spack-environment && spack env activate . \
&& pip install --trusted-host pypi.org \
--trusted-host files.pythonhosted.org \
--cache-dir /var/cache/pip \
--requirement /usr/local/etc/requirements.txt
&& python -m pip install \
--trusted-host pypi.org \
--trusted-host files.pythonhosted.org \
--cache-dir /var/cache/pip \
--requirement /usr/local/etc/requirements.txt
## Including some small fixes:
## - Somehow PODIO env isn't automatically set,
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment