From 8c2c917b0d30c0288d34ce838406289b23fdd569 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Jiri=20Dan=C4=9Bk?= Date: Tue, 19 Aug 2025 13:25:17 +0200 Subject: [PATCH] opendatahub-io/notebooks#1595: chore: pin `micropipenv` and `uv` versions in Dockerfile `pip install` commands for reproducible builds --- codeserver/ubi9-python-3.11/Dockerfile.cpu | 2 +- codeserver/ubi9-python-3.12/Dockerfile.cpu | 2 +- jupyter/datascience/ubi9-python-3.11/Dockerfile.cpu | 2 +- jupyter/datascience/ubi9-python-3.12/Dockerfile.cpu | 2 +- jupyter/minimal/ubi9-python-3.11/Dockerfile.cpu | 2 +- jupyter/minimal/ubi9-python-3.11/Dockerfile.cuda | 2 +- jupyter/minimal/ubi9-python-3.11/Dockerfile.rocm | 2 +- jupyter/minimal/ubi9-python-3.12/Dockerfile.cpu | 2 +- jupyter/minimal/ubi9-python-3.12/Dockerfile.cuda | 2 +- jupyter/minimal/ubi9-python-3.12/Dockerfile.rocm | 2 +- jupyter/pytorch+llmcompressor/ubi9-python-3.11/Dockerfile.cuda | 2 +- jupyter/pytorch/ubi9-python-3.11/Dockerfile.cuda | 2 +- jupyter/pytorch/ubi9-python-3.12/Dockerfile.cuda | 2 +- jupyter/rocm/pytorch/ubi9-python-3.11/Dockerfile.rocm | 2 +- jupyter/rocm/pytorch/ubi9-python-3.12/Dockerfile.rocm | 2 +- jupyter/rocm/tensorflow/ubi9-python-3.11/Dockerfile.rocm | 2 +- jupyter/tensorflow/ubi9-python-3.11/Dockerfile.cuda | 2 +- jupyter/tensorflow/ubi9-python-3.12/Dockerfile.cuda | 2 +- jupyter/trustyai/ubi9-python-3.11/Dockerfile.cpu | 2 +- jupyter/trustyai/ubi9-python-3.12/Dockerfile.cpu | 2 +- rstudio/c9s-python-3.11/Dockerfile.cpu | 2 +- rstudio/c9s-python-3.11/Dockerfile.cuda | 2 +- rstudio/rhel9-python-3.11/Dockerfile.cpu | 2 +- rstudio/rhel9-python-3.11/Dockerfile.cuda | 2 +- runtimes/datascience/ubi9-python-3.11/Dockerfile.cpu | 2 +- runtimes/datascience/ubi9-python-3.12/Dockerfile.cpu | 2 +- runtimes/minimal/ubi9-python-3.11/Dockerfile.cpu | 2 +- runtimes/minimal/ubi9-python-3.12/Dockerfile.cpu | 2 +- runtimes/pytorch+llmcompressor/ubi9-python-3.11/Dockerfile.cuda | 2 +- runtimes/pytorch/ubi9-python-3.11/Dockerfile.cuda | 2 +- runtimes/pytorch/ubi9-python-3.12/Dockerfile.cuda | 2 +- runtimes/rocm-pytorch/ubi9-python-3.11/Dockerfile.rocm | 2 +- runtimes/rocm-pytorch/ubi9-python-3.12/Dockerfile.rocm | 2 +- runtimes/rocm-tensorflow/ubi9-python-3.11/Dockerfile.rocm | 2 +- runtimes/rocm-tensorflow/ubi9-python-3.12/Dockerfile.rocm | 2 +- runtimes/tensorflow/ubi9-python-3.11/Dockerfile.cuda | 2 +- runtimes/tensorflow/ubi9-python-3.12/Dockerfile.cuda | 2 +- scripts/dockerfile_fragments.py | 2 +- 38 files changed, 38 insertions(+), 38 deletions(-) diff --git a/codeserver/ubi9-python-3.11/Dockerfile.cpu b/codeserver/ubi9-python-3.11/Dockerfile.cpu index 457570ff69..d1bac027a0 100644 --- a/codeserver/ubi9-python-3.11/Dockerfile.cpu +++ b/codeserver/ubi9-python-3.11/Dockerfile.cpu @@ -20,7 +20,7 @@ RUN dnf install -y mesa-libGL skopeo && dnf clean all && rm -rf /var/cache/yum USER 1001 # Install micropipenv and uv to deploy packages from requirements.txt begin -RUN pip install --no-cache-dir -U "micropipenv[toml]" "uv" +RUN pip install --no-cache-dir -U "micropipenv[toml]==1.9.0" "uv==0.8.12" # Install micropipenv and uv to deploy packages from requirements.txt end # Install the oc client begin diff --git a/codeserver/ubi9-python-3.12/Dockerfile.cpu b/codeserver/ubi9-python-3.12/Dockerfile.cpu index 8c434c38ce..771be4f8cf 100644 --- a/codeserver/ubi9-python-3.12/Dockerfile.cpu +++ b/codeserver/ubi9-python-3.12/Dockerfile.cpu @@ -20,7 +20,7 @@ RUN dnf install -y mesa-libGL skopeo && dnf clean all && rm -rf /var/cache/yum USER 1001 # Install micropipenv and uv to deploy packages from requirements.txt begin -RUN pip install --no-cache-dir -U "micropipenv[toml]" "uv" +RUN pip install --no-cache-dir -U "micropipenv[toml]==1.9.0" "uv==0.8.12" # Install micropipenv and uv to deploy packages from requirements.txt end # Install the oc client begin diff --git a/jupyter/datascience/ubi9-python-3.11/Dockerfile.cpu b/jupyter/datascience/ubi9-python-3.11/Dockerfile.cpu index 8b8efde890..6dc0d02d47 100644 --- a/jupyter/datascience/ubi9-python-3.11/Dockerfile.cpu +++ b/jupyter/datascience/ubi9-python-3.11/Dockerfile.cpu @@ -33,7 +33,7 @@ RUN dnf install -y mesa-libGL skopeo && dnf clean all && rm -rf /var/cache/yum USER 1001 # Install micropipenv and uv to deploy packages from requirements.txt begin -RUN pip install --no-cache-dir -U "micropipenv[toml]" "uv" +RUN pip install --no-cache-dir -U "micropipenv[toml]==1.9.0" "uv==0.8.12" # Install micropipenv and uv to deploy packages from requirements.txt end # Install the oc client begin diff --git a/jupyter/datascience/ubi9-python-3.12/Dockerfile.cpu b/jupyter/datascience/ubi9-python-3.12/Dockerfile.cpu index 6bf4189e3c..3202ed2bf4 100644 --- a/jupyter/datascience/ubi9-python-3.12/Dockerfile.cpu +++ b/jupyter/datascience/ubi9-python-3.12/Dockerfile.cpu @@ -33,7 +33,7 @@ RUN dnf install -y mesa-libGL skopeo && dnf clean all && rm -rf /var/cache/yum USER 1001 # Install micropipenv and uv to deploy packages from requirements.txt begin -RUN pip install --no-cache-dir -U "micropipenv[toml]" "uv" +RUN pip install --no-cache-dir -U "micropipenv[toml]==1.9.0" "uv==0.8.12" # Install micropipenv and uv to deploy packages from requirements.txt end # Install the oc client begin diff --git a/jupyter/minimal/ubi9-python-3.11/Dockerfile.cpu b/jupyter/minimal/ubi9-python-3.11/Dockerfile.cpu index c2e97dc31a..1173f410a6 100644 --- a/jupyter/minimal/ubi9-python-3.11/Dockerfile.cpu +++ b/jupyter/minimal/ubi9-python-3.11/Dockerfile.cpu @@ -20,7 +20,7 @@ RUN dnf install -y mesa-libGL skopeo && dnf clean all && rm -rf /var/cache/yum USER 1001 # Install micropipenv and uv to deploy packages from requirements.txt begin -RUN pip install --no-cache-dir -U "micropipenv[toml]" "uv" +RUN pip install --no-cache-dir -U "micropipenv[toml]==1.9.0" "uv==0.8.12" # Install micropipenv and uv to deploy packages from requirements.txt end # Install the oc client begin diff --git a/jupyter/minimal/ubi9-python-3.11/Dockerfile.cuda b/jupyter/minimal/ubi9-python-3.11/Dockerfile.cuda index 831a4922df..b321e85781 100644 --- a/jupyter/minimal/ubi9-python-3.11/Dockerfile.cuda +++ b/jupyter/minimal/ubi9-python-3.11/Dockerfile.cuda @@ -20,7 +20,7 @@ RUN dnf install -y mesa-libGL skopeo && dnf clean all && rm -rf /var/cache/yum USER 1001 # Install micropipenv and uv to deploy packages from requirements.txt begin -RUN pip install --no-cache-dir -U "micropipenv[toml]" "uv" +RUN pip install --no-cache-dir -U "micropipenv[toml]==1.9.0" "uv==0.8.12" # Install micropipenv and uv to deploy packages from requirements.txt end # Install the oc client begin diff --git a/jupyter/minimal/ubi9-python-3.11/Dockerfile.rocm b/jupyter/minimal/ubi9-python-3.11/Dockerfile.rocm index 1b2c59a7c3..97cf28f919 100644 --- a/jupyter/minimal/ubi9-python-3.11/Dockerfile.rocm +++ b/jupyter/minimal/ubi9-python-3.11/Dockerfile.rocm @@ -20,7 +20,7 @@ RUN dnf install -y mesa-libGL skopeo && dnf clean all && rm -rf /var/cache/yum USER 1001 # Install micropipenv and uv to deploy packages from requirements.txt begin -RUN pip install --no-cache-dir -U "micropipenv[toml]" "uv" +RUN pip install --no-cache-dir -U "micropipenv[toml]==1.9.0" "uv==0.8.12" # Install micropipenv and uv to deploy packages from requirements.txt end # Install the oc client begin diff --git a/jupyter/minimal/ubi9-python-3.12/Dockerfile.cpu b/jupyter/minimal/ubi9-python-3.12/Dockerfile.cpu index b2942bf31b..1873b3a6d8 100644 --- a/jupyter/minimal/ubi9-python-3.12/Dockerfile.cpu +++ b/jupyter/minimal/ubi9-python-3.12/Dockerfile.cpu @@ -20,7 +20,7 @@ RUN dnf install -y mesa-libGL skopeo && dnf clean all && rm -rf /var/cache/yum USER 1001 # Install micropipenv and uv to deploy packages from requirements.txt begin -RUN pip install --no-cache-dir -U "micropipenv[toml]" "uv" +RUN pip install --no-cache-dir -U "micropipenv[toml]==1.9.0" "uv==0.8.12" # Install micropipenv and uv to deploy packages from requirements.txt end # Install the oc client begin diff --git a/jupyter/minimal/ubi9-python-3.12/Dockerfile.cuda b/jupyter/minimal/ubi9-python-3.12/Dockerfile.cuda index 9f307a758b..b5a1c83b22 100644 --- a/jupyter/minimal/ubi9-python-3.12/Dockerfile.cuda +++ b/jupyter/minimal/ubi9-python-3.12/Dockerfile.cuda @@ -20,7 +20,7 @@ RUN dnf install -y mesa-libGL skopeo && dnf clean all && rm -rf /var/cache/yum USER 1001 # Install micropipenv and uv to deploy packages from requirements.txt begin -RUN pip install --no-cache-dir -U "micropipenv[toml]" "uv" +RUN pip install --no-cache-dir -U "micropipenv[toml]==1.9.0" "uv==0.8.12" # Install micropipenv and uv to deploy packages from requirements.txt end # Install the oc client begin diff --git a/jupyter/minimal/ubi9-python-3.12/Dockerfile.rocm b/jupyter/minimal/ubi9-python-3.12/Dockerfile.rocm index e76909c50b..9dd14621be 100644 --- a/jupyter/minimal/ubi9-python-3.12/Dockerfile.rocm +++ b/jupyter/minimal/ubi9-python-3.12/Dockerfile.rocm @@ -20,7 +20,7 @@ RUN dnf install -y mesa-libGL skopeo && dnf clean all && rm -rf /var/cache/yum USER 1001 # Install micropipenv and uv to deploy packages from requirements.txt begin -RUN pip install --no-cache-dir -U "micropipenv[toml]" "uv" +RUN pip install --no-cache-dir -U "micropipenv[toml]==1.9.0" "uv==0.8.12" # Install micropipenv and uv to deploy packages from requirements.txt end # Install the oc client begin diff --git a/jupyter/pytorch+llmcompressor/ubi9-python-3.11/Dockerfile.cuda b/jupyter/pytorch+llmcompressor/ubi9-python-3.11/Dockerfile.cuda index 3da8c35ec1..5aae08044a 100644 --- a/jupyter/pytorch+llmcompressor/ubi9-python-3.11/Dockerfile.cuda +++ b/jupyter/pytorch+llmcompressor/ubi9-python-3.11/Dockerfile.cuda @@ -245,5 +245,5 @@ COPY ${PYTORCH_SOURCE_CODE}/runtime-images/ /opt/app-root/share/jupyter/metadata WORKDIR /opt/app-root/src # Install micropipenv and uv to deploy packages from requirements.txt begin -RUN pip install --no-cache-dir -U "micropipenv[toml]" "uv" +RUN pip install --no-cache-dir -U "micropipenv[toml]==1.9.0" "uv==0.8.12" # Install micropipenv and uv to deploy packages from requirements.txt end diff --git a/jupyter/pytorch/ubi9-python-3.11/Dockerfile.cuda b/jupyter/pytorch/ubi9-python-3.11/Dockerfile.cuda index 86bdd145b1..f542ef31f2 100644 --- a/jupyter/pytorch/ubi9-python-3.11/Dockerfile.cuda +++ b/jupyter/pytorch/ubi9-python-3.11/Dockerfile.cuda @@ -33,7 +33,7 @@ RUN dnf install -y mesa-libGL skopeo && dnf clean all && rm -rf /var/cache/yum USER 1001 # Install micropipenv and uv to deploy packages from requirements.txt begin -RUN pip install --no-cache-dir -U "micropipenv[toml]" "uv" +RUN pip install --no-cache-dir -U "micropipenv[toml]==1.9.0" "uv==0.8.12" # Install micropipenv and uv to deploy packages from requirements.txt end # Install the oc client begin diff --git a/jupyter/pytorch/ubi9-python-3.12/Dockerfile.cuda b/jupyter/pytorch/ubi9-python-3.12/Dockerfile.cuda index 483e8084b2..a1fe3832fc 100644 --- a/jupyter/pytorch/ubi9-python-3.12/Dockerfile.cuda +++ b/jupyter/pytorch/ubi9-python-3.12/Dockerfile.cuda @@ -33,7 +33,7 @@ RUN dnf install -y mesa-libGL skopeo && dnf clean all && rm -rf /var/cache/yum USER 1001 # Install micropipenv and uv to deploy packages from requirements.txt begin -RUN pip install --no-cache-dir -U "micropipenv[toml]" "uv" +RUN pip install --no-cache-dir -U "micropipenv[toml]==1.9.0" "uv==0.8.12" # Install micropipenv and uv to deploy packages from requirements.txt end # Install the oc client begin diff --git a/jupyter/rocm/pytorch/ubi9-python-3.11/Dockerfile.rocm b/jupyter/rocm/pytorch/ubi9-python-3.11/Dockerfile.rocm index 54cb4ca13a..7d08c2292d 100644 --- a/jupyter/rocm/pytorch/ubi9-python-3.11/Dockerfile.rocm +++ b/jupyter/rocm/pytorch/ubi9-python-3.11/Dockerfile.rocm @@ -33,7 +33,7 @@ RUN dnf install -y mesa-libGL skopeo && dnf clean all && rm -rf /var/cache/yum USER 1001 # Install micropipenv and uv to deploy packages from requirements.txt begin -RUN pip install --no-cache-dir -U "micropipenv[toml]" "uv" +RUN pip install --no-cache-dir -U "micropipenv[toml]==1.9.0" "uv==0.8.12" # Install micropipenv and uv to deploy packages from requirements.txt end # Install the oc client begin diff --git a/jupyter/rocm/pytorch/ubi9-python-3.12/Dockerfile.rocm b/jupyter/rocm/pytorch/ubi9-python-3.12/Dockerfile.rocm index b431e73927..d5b76ead4f 100644 --- a/jupyter/rocm/pytorch/ubi9-python-3.12/Dockerfile.rocm +++ b/jupyter/rocm/pytorch/ubi9-python-3.12/Dockerfile.rocm @@ -33,7 +33,7 @@ RUN dnf install -y mesa-libGL skopeo && dnf clean all && rm -rf /var/cache/yum USER 1001 # Install micropipenv and uv to deploy packages from requirements.txt begin -RUN pip install --no-cache-dir -U "micropipenv[toml]" "uv" +RUN pip install --no-cache-dir -U "micropipenv[toml]==1.9.0" "uv==0.8.12" # Install micropipenv and uv to deploy packages from requirements.txt end # Install the oc client begin diff --git a/jupyter/rocm/tensorflow/ubi9-python-3.11/Dockerfile.rocm b/jupyter/rocm/tensorflow/ubi9-python-3.11/Dockerfile.rocm index 9f17332755..9b7a149da7 100644 --- a/jupyter/rocm/tensorflow/ubi9-python-3.11/Dockerfile.rocm +++ b/jupyter/rocm/tensorflow/ubi9-python-3.11/Dockerfile.rocm @@ -33,7 +33,7 @@ RUN dnf install -y mesa-libGL skopeo && dnf clean all && rm -rf /var/cache/yum USER 1001 # Install micropipenv and uv to deploy packages from requirements.txt begin -RUN pip install --no-cache-dir -U "micropipenv[toml]" "uv" +RUN pip install --no-cache-dir -U "micropipenv[toml]==1.9.0" "uv==0.8.12" # Install micropipenv and uv to deploy packages from requirements.txt end # Install the oc client begin diff --git a/jupyter/tensorflow/ubi9-python-3.11/Dockerfile.cuda b/jupyter/tensorflow/ubi9-python-3.11/Dockerfile.cuda index 2537af3518..bff77b6864 100644 --- a/jupyter/tensorflow/ubi9-python-3.11/Dockerfile.cuda +++ b/jupyter/tensorflow/ubi9-python-3.11/Dockerfile.cuda @@ -33,7 +33,7 @@ RUN dnf install -y mesa-libGL skopeo && dnf clean all && rm -rf /var/cache/yum USER 1001 # Install micropipenv and uv to deploy packages from requirements.txt begin -RUN pip install --no-cache-dir -U "micropipenv[toml]" "uv" +RUN pip install --no-cache-dir -U "micropipenv[toml]==1.9.0" "uv==0.8.12" # Install micropipenv and uv to deploy packages from requirements.txt end # Install the oc client begin diff --git a/jupyter/tensorflow/ubi9-python-3.12/Dockerfile.cuda b/jupyter/tensorflow/ubi9-python-3.12/Dockerfile.cuda index e689ca9066..40db00044e 100644 --- a/jupyter/tensorflow/ubi9-python-3.12/Dockerfile.cuda +++ b/jupyter/tensorflow/ubi9-python-3.12/Dockerfile.cuda @@ -33,7 +33,7 @@ RUN dnf install -y mesa-libGL skopeo && dnf clean all && rm -rf /var/cache/yum USER 1001 # Install micropipenv and uv to deploy packages from requirements.txt begin -RUN pip install --no-cache-dir -U "micropipenv[toml]" "uv" +RUN pip install --no-cache-dir -U "micropipenv[toml]==1.9.0" "uv==0.8.12" # Install micropipenv and uv to deploy packages from requirements.txt end # Install the oc client begin diff --git a/jupyter/trustyai/ubi9-python-3.11/Dockerfile.cpu b/jupyter/trustyai/ubi9-python-3.11/Dockerfile.cpu index 3a9f606a59..468805035c 100644 --- a/jupyter/trustyai/ubi9-python-3.11/Dockerfile.cpu +++ b/jupyter/trustyai/ubi9-python-3.11/Dockerfile.cpu @@ -33,7 +33,7 @@ RUN dnf install -y mesa-libGL skopeo && dnf clean all && rm -rf /var/cache/yum USER 1001 # Install micropipenv and uv to deploy packages from requirements.txt begin -RUN pip install --no-cache-dir -U "micropipenv[toml]" "uv" +RUN pip install --no-cache-dir -U "micropipenv[toml]==1.9.0" "uv==0.8.12" # Install micropipenv and uv to deploy packages from requirements.txt end # Install the oc client begin diff --git a/jupyter/trustyai/ubi9-python-3.12/Dockerfile.cpu b/jupyter/trustyai/ubi9-python-3.12/Dockerfile.cpu index 8f8e018ee2..b1efb41721 100644 --- a/jupyter/trustyai/ubi9-python-3.12/Dockerfile.cpu +++ b/jupyter/trustyai/ubi9-python-3.12/Dockerfile.cpu @@ -33,7 +33,7 @@ RUN dnf install -y mesa-libGL skopeo && dnf clean all && rm -rf /var/cache/yum USER 1001 # Install micropipenv and uv to deploy packages from requirements.txt begin -RUN pip install --no-cache-dir -U "micropipenv[toml]" "uv" +RUN pip install --no-cache-dir -U "micropipenv[toml]==1.9.0" "uv==0.8.12" # Install micropipenv and uv to deploy packages from requirements.txt end # Install the oc client begin diff --git a/rstudio/c9s-python-3.11/Dockerfile.cpu b/rstudio/c9s-python-3.11/Dockerfile.cpu index 46677d1fff..6c788bb57e 100644 --- a/rstudio/c9s-python-3.11/Dockerfile.cpu +++ b/rstudio/c9s-python-3.11/Dockerfile.cpu @@ -6,7 +6,7 @@ FROM quay.io/sclorg/python-311-c9s:c9s AS base WORKDIR /opt/app-root/bin # Install micropipenv and uv to deploy packages from requirements.txt begin -RUN pip install --no-cache-dir -U "micropipenv[toml]" "uv" +RUN pip install --no-cache-dir -U "micropipenv[toml]==1.9.0" "uv==0.8.12" # Install micropipenv and uv to deploy packages from requirements.txt end # OS Packages needs to be installed as root diff --git a/rstudio/c9s-python-3.11/Dockerfile.cuda b/rstudio/c9s-python-3.11/Dockerfile.cuda index df3c96f8bb..cab96aa3b9 100644 --- a/rstudio/c9s-python-3.11/Dockerfile.cuda +++ b/rstudio/c9s-python-3.11/Dockerfile.cuda @@ -6,7 +6,7 @@ FROM quay.io/sclorg/python-311-c9s:c9s AS base WORKDIR /opt/app-root/bin # Install micropipenv and uv to deploy packages from requirements.txt begin -RUN pip install --no-cache-dir -U "micropipenv[toml]" "uv" +RUN pip install --no-cache-dir -U "micropipenv[toml]==1.9.0" "uv==0.8.12" # Install micropipenv and uv to deploy packages from requirements.txt end # OS Packages needs to be installed as root diff --git a/rstudio/rhel9-python-3.11/Dockerfile.cpu b/rstudio/rhel9-python-3.11/Dockerfile.cpu index 3c8adb3acc..c0c12317a2 100644 --- a/rstudio/rhel9-python-3.11/Dockerfile.cpu +++ b/rstudio/rhel9-python-3.11/Dockerfile.cpu @@ -6,7 +6,7 @@ FROM registry.redhat.io/rhel9/python-311:latest AS base WORKDIR /opt/app-root/bin # Install micropipenv and uv to deploy packages from requirements.txt begin -RUN pip install --no-cache-dir -U "micropipenv[toml]" "uv" +RUN pip install --no-cache-dir -U "micropipenv[toml]==1.9.0" "uv==0.8.12" # Install micropipenv and uv to deploy packages from requirements.txt end # OS Packages needs to be installed as root diff --git a/rstudio/rhel9-python-3.11/Dockerfile.cuda b/rstudio/rhel9-python-3.11/Dockerfile.cuda index 69df3175dd..ff33fef5fb 100644 --- a/rstudio/rhel9-python-3.11/Dockerfile.cuda +++ b/rstudio/rhel9-python-3.11/Dockerfile.cuda @@ -6,7 +6,7 @@ FROM registry.redhat.io/rhel9/python-311:latest AS base WORKDIR /opt/app-root/bin # Install micropipenv and uv to deploy packages from requirements.txt begin -RUN pip install --no-cache-dir -U "micropipenv[toml]" "uv" +RUN pip install --no-cache-dir -U "micropipenv[toml]==1.9.0" "uv==0.8.12" # Install micropipenv and uv to deploy packages from requirements.txt end # OS Packages needs to be installed as root diff --git a/runtimes/datascience/ubi9-python-3.11/Dockerfile.cpu b/runtimes/datascience/ubi9-python-3.11/Dockerfile.cpu index 8c6a6c3786..a7947ca655 100644 --- a/runtimes/datascience/ubi9-python-3.11/Dockerfile.cpu +++ b/runtimes/datascience/ubi9-python-3.11/Dockerfile.cpu @@ -20,7 +20,7 @@ RUN dnf install -y mesa-libGL skopeo && dnf clean all && rm -rf /var/cache/yum USER 1001 # Install micropipenv and uv to deploy packages from requirements.txt begin -RUN pip install --no-cache-dir -U "micropipenv[toml]" "uv" +RUN pip install --no-cache-dir -U "micropipenv[toml]==1.9.0" "uv==0.8.12" # Install micropipenv and uv to deploy packages from requirements.txt end # Install the oc client begin diff --git a/runtimes/datascience/ubi9-python-3.12/Dockerfile.cpu b/runtimes/datascience/ubi9-python-3.12/Dockerfile.cpu index 9fdc39a635..eaacdd6426 100644 --- a/runtimes/datascience/ubi9-python-3.12/Dockerfile.cpu +++ b/runtimes/datascience/ubi9-python-3.12/Dockerfile.cpu @@ -20,7 +20,7 @@ RUN dnf install -y mesa-libGL skopeo libxcrypt-compat && dnf clean all && rm -rf USER 1001 # Install micropipenv and uv to deploy packages from requirements.txt begin -RUN pip install --no-cache-dir -U "micropipenv[toml]" "uv" +RUN pip install --no-cache-dir -U "micropipenv[toml]==1.9.0" "uv==0.8.12" # Install micropipenv and uv to deploy packages from requirements.txt end # Install the oc client begin diff --git a/runtimes/minimal/ubi9-python-3.11/Dockerfile.cpu b/runtimes/minimal/ubi9-python-3.11/Dockerfile.cpu index d245f5108c..2861e6112f 100644 --- a/runtimes/minimal/ubi9-python-3.11/Dockerfile.cpu +++ b/runtimes/minimal/ubi9-python-3.11/Dockerfile.cpu @@ -27,7 +27,7 @@ RUN ARCH=$(uname -m) && \ USER 1001 # Install micropipenv and uv to deploy packages from requirements.txt begin -RUN pip install --no-cache-dir -U "micropipenv[toml]" "uv" +RUN pip install --no-cache-dir -U "micropipenv[toml]==1.9.0" "uv==0.8.12" # Install micropipenv and uv to deploy packages from requirements.txt end # Install the oc client begin diff --git a/runtimes/minimal/ubi9-python-3.12/Dockerfile.cpu b/runtimes/minimal/ubi9-python-3.12/Dockerfile.cpu index 5913b2ec5e..d3048a4688 100644 --- a/runtimes/minimal/ubi9-python-3.12/Dockerfile.cpu +++ b/runtimes/minimal/ubi9-python-3.12/Dockerfile.cpu @@ -27,7 +27,7 @@ RUN ARCH=$(uname -m) && \ USER 1001 # Install micropipenv and uv to deploy packages from requirements.txt begin -RUN pip install --no-cache-dir -U "micropipenv[toml]" "uv" +RUN pip install --no-cache-dir -U "micropipenv[toml]==1.9.0" "uv==0.8.12" # Install micropipenv and uv to deploy packages from requirements.txt end # Install the oc client begin diff --git a/runtimes/pytorch+llmcompressor/ubi9-python-3.11/Dockerfile.cuda b/runtimes/pytorch+llmcompressor/ubi9-python-3.11/Dockerfile.cuda index 61ab746b0d..86b5d7450d 100644 --- a/runtimes/pytorch+llmcompressor/ubi9-python-3.11/Dockerfile.cuda +++ b/runtimes/pytorch+llmcompressor/ubi9-python-3.11/Dockerfile.cuda @@ -157,5 +157,5 @@ RUN echo "Installing softwares and packages" && \ WORKDIR /opt/app-root/src # Install micropipenv and uv to deploy packages from requirements.txt begin -RUN pip install --no-cache-dir -U "micropipenv[toml]" "uv" +RUN pip install --no-cache-dir -U "micropipenv[toml]==1.9.0" "uv==0.8.12" # Install micropipenv and uv to deploy packages from requirements.txt end diff --git a/runtimes/pytorch/ubi9-python-3.11/Dockerfile.cuda b/runtimes/pytorch/ubi9-python-3.11/Dockerfile.cuda index 0fd8aeee7f..57559fabc0 100644 --- a/runtimes/pytorch/ubi9-python-3.11/Dockerfile.cuda +++ b/runtimes/pytorch/ubi9-python-3.11/Dockerfile.cuda @@ -20,7 +20,7 @@ RUN dnf install -y mesa-libGL skopeo && dnf clean all && rm -rf /var/cache/yum USER 1001 # Install micropipenv and uv to deploy packages from requirements.txt begin -RUN pip install --no-cache-dir -U "micropipenv[toml]" "uv" +RUN pip install --no-cache-dir -U "micropipenv[toml]==1.9.0" "uv==0.8.12" # Install micropipenv and uv to deploy packages from requirements.txt end # Install the oc client begin diff --git a/runtimes/pytorch/ubi9-python-3.12/Dockerfile.cuda b/runtimes/pytorch/ubi9-python-3.12/Dockerfile.cuda index ce5a608b10..49834e99a0 100644 --- a/runtimes/pytorch/ubi9-python-3.12/Dockerfile.cuda +++ b/runtimes/pytorch/ubi9-python-3.12/Dockerfile.cuda @@ -20,7 +20,7 @@ RUN dnf install -y mesa-libGL skopeo libxcrypt-compat && dnf clean all && rm -rf USER 1001 # Install micropipenv and uv to deploy packages from requirements.txt begin -RUN pip install --no-cache-dir -U "micropipenv[toml]" "uv" +RUN pip install --no-cache-dir -U "micropipenv[toml]==1.9.0" "uv==0.8.12" # Install micropipenv and uv to deploy packages from requirements.txt end # Install the oc client begin diff --git a/runtimes/rocm-pytorch/ubi9-python-3.11/Dockerfile.rocm b/runtimes/rocm-pytorch/ubi9-python-3.11/Dockerfile.rocm index 5ace979b3e..9c29e3400d 100644 --- a/runtimes/rocm-pytorch/ubi9-python-3.11/Dockerfile.rocm +++ b/runtimes/rocm-pytorch/ubi9-python-3.11/Dockerfile.rocm @@ -20,7 +20,7 @@ RUN dnf install -y mesa-libGL skopeo && dnf clean all && rm -rf /var/cache/yum USER 1001 # Install micropipenv and uv to deploy packages from requirements.txt begin -RUN pip install --no-cache-dir -U "micropipenv[toml]" "uv" +RUN pip install --no-cache-dir -U "micropipenv[toml]==1.9.0" "uv==0.8.12" # Install micropipenv and uv to deploy packages from requirements.txt end # Install the oc client begin diff --git a/runtimes/rocm-pytorch/ubi9-python-3.12/Dockerfile.rocm b/runtimes/rocm-pytorch/ubi9-python-3.12/Dockerfile.rocm index d55d359902..46a1485388 100644 --- a/runtimes/rocm-pytorch/ubi9-python-3.12/Dockerfile.rocm +++ b/runtimes/rocm-pytorch/ubi9-python-3.12/Dockerfile.rocm @@ -20,7 +20,7 @@ RUN dnf install -y mesa-libGL skopeo libxcrypt-compat && dnf clean all && rm -rf USER 1001 # Install micropipenv and uv to deploy packages from requirements.txt begin -RUN pip install --no-cache-dir -U "micropipenv[toml]" "uv" +RUN pip install --no-cache-dir -U "micropipenv[toml]==1.9.0" "uv==0.8.12" # Install micropipenv and uv to deploy packages from requirements.txt end # Install the oc client begin diff --git a/runtimes/rocm-tensorflow/ubi9-python-3.11/Dockerfile.rocm b/runtimes/rocm-tensorflow/ubi9-python-3.11/Dockerfile.rocm index 05d212a16d..dff91a73a1 100644 --- a/runtimes/rocm-tensorflow/ubi9-python-3.11/Dockerfile.rocm +++ b/runtimes/rocm-tensorflow/ubi9-python-3.11/Dockerfile.rocm @@ -20,7 +20,7 @@ RUN dnf install -y mesa-libGL skopeo && dnf clean all && rm -rf /var/cache/yum USER 1001 # Install micropipenv and uv to deploy packages from requirements.txt begin -RUN pip install --no-cache-dir -U "micropipenv[toml]" "uv" +RUN pip install --no-cache-dir -U "micropipenv[toml]==1.9.0" "uv==0.8.12" # Install micropipenv and uv to deploy packages from requirements.txt end # Install the oc client begin diff --git a/runtimes/rocm-tensorflow/ubi9-python-3.12/Dockerfile.rocm b/runtimes/rocm-tensorflow/ubi9-python-3.12/Dockerfile.rocm index 10f37f68e9..87f3e8d158 100644 --- a/runtimes/rocm-tensorflow/ubi9-python-3.12/Dockerfile.rocm +++ b/runtimes/rocm-tensorflow/ubi9-python-3.12/Dockerfile.rocm @@ -20,7 +20,7 @@ RUN dnf install -y mesa-libGL skopeo && dnf clean all && rm -rf /var/cache/yum USER 1001 # Install micropipenv and uv to deploy packages from requirements.txt begin -RUN pip install --no-cache-dir -U "micropipenv[toml]" "uv" +RUN pip install --no-cache-dir -U "micropipenv[toml]==1.9.0" "uv==0.8.12" # Install micropipenv and uv to deploy packages from requirements.txt end # Install the oc client begin diff --git a/runtimes/tensorflow/ubi9-python-3.11/Dockerfile.cuda b/runtimes/tensorflow/ubi9-python-3.11/Dockerfile.cuda index 9f0c277279..81f3b56481 100644 --- a/runtimes/tensorflow/ubi9-python-3.11/Dockerfile.cuda +++ b/runtimes/tensorflow/ubi9-python-3.11/Dockerfile.cuda @@ -20,7 +20,7 @@ RUN dnf install -y mesa-libGL skopeo && dnf clean all && rm -rf /var/cache/yum USER 1001 # Install micropipenv and uv to deploy packages from requirements.txt begin -RUN pip install --no-cache-dir -U "micropipenv[toml]" "uv" +RUN pip install --no-cache-dir -U "micropipenv[toml]==1.9.0" "uv==0.8.12" # Install micropipenv and uv to deploy packages from requirements.txt end # Install the oc client begin diff --git a/runtimes/tensorflow/ubi9-python-3.12/Dockerfile.cuda b/runtimes/tensorflow/ubi9-python-3.12/Dockerfile.cuda index 01a3ef3174..6f968b5728 100644 --- a/runtimes/tensorflow/ubi9-python-3.12/Dockerfile.cuda +++ b/runtimes/tensorflow/ubi9-python-3.12/Dockerfile.cuda @@ -20,7 +20,7 @@ RUN dnf install -y mesa-libGL skopeo libxcrypt-compat && dnf clean all && rm -rf USER 1001 # Install micropipenv and uv to deploy packages from requirements.txt begin -RUN pip install --no-cache-dir -U "micropipenv[toml]" "uv" +RUN pip install --no-cache-dir -U "micropipenv[toml]==1.9.0" "uv==0.8.12" # Install micropipenv and uv to deploy packages from requirements.txt end # Install the oc client begin diff --git a/scripts/dockerfile_fragments.py b/scripts/dockerfile_fragments.py index 6b95ed0556..094358c544 100644 --- a/scripts/dockerfile_fragments.py +++ b/scripts/dockerfile_fragments.py @@ -28,7 +28,7 @@ def main(): blockinfile( dockerfile, - textwrap.dedent('''RUN pip install --no-cache-dir -U "micropipenv[toml]" "uv"'''), + textwrap.dedent('''RUN pip install --no-cache-dir -U "micropipenv[toml]==1.9.0" "uv==0.8.12"'''), prefix="Install micropipenv and uv to deploy packages from requirements.txt", )