File tree Expand file tree Collapse file tree 1 file changed +3
-2
lines changed
tutorials/accelerated-python/brev Expand file tree Collapse file tree 1 file changed +3
-2
lines changed Original file line number Diff line number Diff line change @@ -18,6 +18,7 @@ COPY tutorials/${ACH_TUTORIAL}/brev/requirements.txt /opt/requirements.txt
1818
1919# Remove externally managed flag and install Python packages.
2020RUN rm -f /usr/lib/python3.*/EXTERNALLY-MANAGED \
21+ && python -m pip install --no-cache-dir --root-user-action=ignore --upgrade pip \
2122 && pip install --no-cache-dir --root-user-action=ignore -r /opt/requirements.txt \
2223 && rm -f /opt/requirements.txt
2324
@@ -45,8 +46,8 @@ RUN mkdir -p ~/.local/state/._bash_history \
4546# Create an isolated Python env with cuDF and cuML, and register it as a Jupyter kernel
4647ENV ACH_RAPIDS_VENV=/opt/venvs/rapids
4748RUN python -m venv ${ACH_RAPIDS_VENV} \
48- && ${ACH_RAPIDS_VENV}/bin/python -m pip install --upgrade pip \
49- && ${ACH_RAPIDS_VENV}/bin/pip install \
49+ && ${ACH_RAPIDS_VENV}/bin/python -m pip install --no-cache-dir -- upgrade pip \
50+ && ${ACH_RAPIDS_VENV}/bin/pip install --no-cache-dir \
5051 --extra-index-url=https://pypi.nvidia.com \
5152 "cudf-cu12==25.10.*" \
5253 "cuml-cu12==25.10.*" \
You can’t perform that action at this time.
0 commit comments