Skip to content
Merged
Show file tree
Hide file tree
Changes from 1 commit
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
3 changes: 3 additions & 0 deletions constraints.txt
Original file line number Diff line number Diff line change
@@ -1,2 +1,5 @@
# These vulnerabilities were inherited from the base image (pytorch:25.10-py3) and should be removed when the base image
# is updated.
# WAR against https://github.com/advisories/GHSA-gm62-xv2j-4w53
# WAR against https://github.com/advisories/GHSA-2xpw-w6gg-jr37
urllib3>=2.6.0
4 changes: 4 additions & 0 deletions docker/Dockerfile.multi
Original file line number Diff line number Diff line change
Expand Up @@ -71,6 +71,10 @@ RUN GITHUB_MIRROR=${GITHUB_MIRROR} \
rm install_pytorch.sh && \
rm install.sh

# Copy and install dependencies from constraints.txt
COPY constraints.txt /tmp/constraints.txt
RUN pip install --no-cache-dir --upgrade -r /tmp/constraints.txt && rm /tmp/constraints.txt

# Install UCX, NIXL, etcd
# TODO: Combine these into the main install.sh script
RUN GITHUB_MIRROR=${GITHUB_MIRROR} bash ./install_ucx.sh && \
Expand Down
2 changes: 1 addition & 1 deletion docker/common/install_base.sh
Original file line number Diff line number Diff line change
Expand Up @@ -119,7 +119,7 @@ install_python_rockylinux() {
}

install_pyp_rockylinux() {
bash -c "pip3 install 'urllib3<2.0' pytest"
bash -c "pip3 install pytest"
}

install_gcctoolset_rockylinux() {
Expand Down
Loading