From b63e66772376584eb1cde582af6eb168d886f0fb Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Jiri=20Dan=C4=9Bk?= Date: Thu, 13 Nov 2025 07:48:51 +0100 Subject: [PATCH 1/3] RHAIENG-948: update base image tags for ROCm, CUDA, and CPU configurations to 3.1 versions across all components --- codeserver/ubi9-python-3.12/build-args/cpu.conf | 2 +- jupyter/datascience/ubi9-python-3.12/build-args/cpu.conf | 2 +- jupyter/minimal/ubi9-python-3.12/build-args/cpu.conf | 2 +- jupyter/minimal/ubi9-python-3.12/build-args/cuda.conf | 2 +- jupyter/minimal/ubi9-python-3.12/build-args/rocm.conf | 2 +- .../pytorch+llmcompressor/ubi9-python-3.12/build-args/cuda.conf | 2 +- jupyter/pytorch/ubi9-python-3.12/build-args/cuda.conf | 2 +- jupyter/rocm/pytorch/ubi9-python-3.12/build-args/rocm.conf | 2 +- jupyter/rocm/tensorflow/ubi9-python-3.12/build-args/rocm.conf | 2 +- jupyter/tensorflow/ubi9-python-3.12/build-args/cuda.conf | 2 +- jupyter/trustyai/ubi9-python-3.12/build-args/cpu.conf | 2 +- rstudio/rhel9-python-3.12/build-args/cpu.conf | 2 +- rstudio/rhel9-python-3.12/build-args/cuda.conf | 2 +- runtimes/datascience/ubi9-python-3.12/build-args/cpu.conf | 2 +- runtimes/minimal/ubi9-python-3.12/build-args/cpu.conf | 2 +- .../pytorch+llmcompressor/ubi9-python-3.12/build-args/cuda.conf | 2 +- runtimes/pytorch/ubi9-python-3.12/build-args/cuda.conf | 2 +- runtimes/rocm-pytorch/ubi9-python-3.12/build-args/rocm.conf | 2 +- runtimes/rocm-tensorflow/ubi9-python-3.12/build-args/rocm.conf | 2 +- runtimes/tensorflow/ubi9-python-3.12/build-args/cuda.conf | 2 +- 20 files changed, 20 insertions(+), 20 deletions(-) diff --git a/codeserver/ubi9-python-3.12/build-args/cpu.conf b/codeserver/ubi9-python-3.12/build-args/cpu.conf index 8fe9d4edc9..f4c67c24a2 100644 --- a/codeserver/ubi9-python-3.12/build-args/cpu.conf +++ b/codeserver/ubi9-python-3.12/build-args/cpu.conf @@ -1,3 +1,3 @@ # Base Image : RHEL 9.6 with Python 3.12 # Architectures: linux/arm64, linux/ppc64le, linux/x86_64, linux/s360x -BASE_IMAGE=quay.io/aipcc/base-images/cpu:3.0-1761580156 +BASE_IMAGE=quay.io/aipcc/base-images/cpu:3.1-1763000001 diff --git a/jupyter/datascience/ubi9-python-3.12/build-args/cpu.conf b/jupyter/datascience/ubi9-python-3.12/build-args/cpu.conf index 8fe9d4edc9..f4c67c24a2 100644 --- a/jupyter/datascience/ubi9-python-3.12/build-args/cpu.conf +++ b/jupyter/datascience/ubi9-python-3.12/build-args/cpu.conf @@ -1,3 +1,3 @@ # Base Image : RHEL 9.6 with Python 3.12 # Architectures: linux/arm64, linux/ppc64le, linux/x86_64, linux/s360x -BASE_IMAGE=quay.io/aipcc/base-images/cpu:3.0-1761580156 +BASE_IMAGE=quay.io/aipcc/base-images/cpu:3.1-1763000001 diff --git a/jupyter/minimal/ubi9-python-3.12/build-args/cpu.conf b/jupyter/minimal/ubi9-python-3.12/build-args/cpu.conf index 8fe9d4edc9..f4c67c24a2 100644 --- a/jupyter/minimal/ubi9-python-3.12/build-args/cpu.conf +++ b/jupyter/minimal/ubi9-python-3.12/build-args/cpu.conf @@ -1,3 +1,3 @@ # Base Image : RHEL 9.6 with Python 3.12 # Architectures: linux/arm64, linux/ppc64le, linux/x86_64, linux/s360x -BASE_IMAGE=quay.io/aipcc/base-images/cpu:3.0-1761580156 +BASE_IMAGE=quay.io/aipcc/base-images/cpu:3.1-1763000001 diff --git a/jupyter/minimal/ubi9-python-3.12/build-args/cuda.conf b/jupyter/minimal/ubi9-python-3.12/build-args/cuda.conf index 9b62bf6687..214c5baf81 100644 --- a/jupyter/minimal/ubi9-python-3.12/build-args/cuda.conf +++ b/jupyter/minimal/ubi9-python-3.12/build-args/cuda.conf @@ -2,4 +2,4 @@ # CUDA Version : 12.8.1 # Architectures: linux/arm64, linux/x86_64 # Source : https://quay.io/repository/aipcc/base-images/cuda -BASE_IMAGE=quay.io/aipcc/base-images/cuda:3.0-1756380241 +BASE_IMAGE=quay.io/aipcc/base-images/cuda:3.1-1763000001 diff --git a/jupyter/minimal/ubi9-python-3.12/build-args/rocm.conf b/jupyter/minimal/ubi9-python-3.12/build-args/rocm.conf index cffbf80141..4fe3c26ed7 100644 --- a/jupyter/minimal/ubi9-python-3.12/build-args/rocm.conf +++ b/jupyter/minimal/ubi9-python-3.12/build-args/rocm.conf @@ -2,4 +2,4 @@ # ROCm Version : 6.3.4 # Architectures: linux/x86_64 # Source : https://quay.io/repository/aipcc/base-images/rocm -BASE_IMAGE=quay.io/aipcc/base-images/rocm:3.0-1755080929 +BASE_IMAGE=quay.io/aipcc/base-images/rocm:3.1-1762999856 diff --git a/jupyter/pytorch+llmcompressor/ubi9-python-3.12/build-args/cuda.conf b/jupyter/pytorch+llmcompressor/ubi9-python-3.12/build-args/cuda.conf index 9b62bf6687..214c5baf81 100644 --- a/jupyter/pytorch+llmcompressor/ubi9-python-3.12/build-args/cuda.conf +++ b/jupyter/pytorch+llmcompressor/ubi9-python-3.12/build-args/cuda.conf @@ -2,4 +2,4 @@ # CUDA Version : 12.8.1 # Architectures: linux/arm64, linux/x86_64 # Source : https://quay.io/repository/aipcc/base-images/cuda -BASE_IMAGE=quay.io/aipcc/base-images/cuda:3.0-1756380241 +BASE_IMAGE=quay.io/aipcc/base-images/cuda:3.1-1763000001 diff --git a/jupyter/pytorch/ubi9-python-3.12/build-args/cuda.conf b/jupyter/pytorch/ubi9-python-3.12/build-args/cuda.conf index 9b62bf6687..214c5baf81 100644 --- a/jupyter/pytorch/ubi9-python-3.12/build-args/cuda.conf +++ b/jupyter/pytorch/ubi9-python-3.12/build-args/cuda.conf @@ -2,4 +2,4 @@ # CUDA Version : 12.8.1 # Architectures: linux/arm64, linux/x86_64 # Source : https://quay.io/repository/aipcc/base-images/cuda -BASE_IMAGE=quay.io/aipcc/base-images/cuda:3.0-1756380241 +BASE_IMAGE=quay.io/aipcc/base-images/cuda:3.1-1763000001 diff --git a/jupyter/rocm/pytorch/ubi9-python-3.12/build-args/rocm.conf b/jupyter/rocm/pytorch/ubi9-python-3.12/build-args/rocm.conf index cffbf80141..4fe3c26ed7 100644 --- a/jupyter/rocm/pytorch/ubi9-python-3.12/build-args/rocm.conf +++ b/jupyter/rocm/pytorch/ubi9-python-3.12/build-args/rocm.conf @@ -2,4 +2,4 @@ # ROCm Version : 6.3.4 # Architectures: linux/x86_64 # Source : https://quay.io/repository/aipcc/base-images/rocm -BASE_IMAGE=quay.io/aipcc/base-images/rocm:3.0-1755080929 +BASE_IMAGE=quay.io/aipcc/base-images/rocm:3.1-1762999856 diff --git a/jupyter/rocm/tensorflow/ubi9-python-3.12/build-args/rocm.conf b/jupyter/rocm/tensorflow/ubi9-python-3.12/build-args/rocm.conf index cffbf80141..4fe3c26ed7 100644 --- a/jupyter/rocm/tensorflow/ubi9-python-3.12/build-args/rocm.conf +++ b/jupyter/rocm/tensorflow/ubi9-python-3.12/build-args/rocm.conf @@ -2,4 +2,4 @@ # ROCm Version : 6.3.4 # Architectures: linux/x86_64 # Source : https://quay.io/repository/aipcc/base-images/rocm -BASE_IMAGE=quay.io/aipcc/base-images/rocm:3.0-1755080929 +BASE_IMAGE=quay.io/aipcc/base-images/rocm:3.1-1762999856 diff --git a/jupyter/tensorflow/ubi9-python-3.12/build-args/cuda.conf b/jupyter/tensorflow/ubi9-python-3.12/build-args/cuda.conf index 9b62bf6687..214c5baf81 100644 --- a/jupyter/tensorflow/ubi9-python-3.12/build-args/cuda.conf +++ b/jupyter/tensorflow/ubi9-python-3.12/build-args/cuda.conf @@ -2,4 +2,4 @@ # CUDA Version : 12.8.1 # Architectures: linux/arm64, linux/x86_64 # Source : https://quay.io/repository/aipcc/base-images/cuda -BASE_IMAGE=quay.io/aipcc/base-images/cuda:3.0-1756380241 +BASE_IMAGE=quay.io/aipcc/base-images/cuda:3.1-1763000001 diff --git a/jupyter/trustyai/ubi9-python-3.12/build-args/cpu.conf b/jupyter/trustyai/ubi9-python-3.12/build-args/cpu.conf index 8fe9d4edc9..f4c67c24a2 100644 --- a/jupyter/trustyai/ubi9-python-3.12/build-args/cpu.conf +++ b/jupyter/trustyai/ubi9-python-3.12/build-args/cpu.conf @@ -1,3 +1,3 @@ # Base Image : RHEL 9.6 with Python 3.12 # Architectures: linux/arm64, linux/ppc64le, linux/x86_64, linux/s360x -BASE_IMAGE=quay.io/aipcc/base-images/cpu:3.0-1761580156 +BASE_IMAGE=quay.io/aipcc/base-images/cpu:3.1-1763000001 diff --git a/rstudio/rhel9-python-3.12/build-args/cpu.conf b/rstudio/rhel9-python-3.12/build-args/cpu.conf index 4af0b8d1a9..b4e32796c1 100644 --- a/rstudio/rhel9-python-3.12/build-args/cpu.conf +++ b/rstudio/rhel9-python-3.12/build-args/cpu.conf @@ -1,4 +1,4 @@ # Base Image : RHEL 9.6 with Python 3.12 # Architectures: linux/arm64, linux/ppc64le, linux/x86_64, linux/s360x # Source : https://quay.io/repository/aipcc/base-images/cpu -BASE_IMAGE=quay.io/aipcc/base-images/cpu:3.1-1762903336 +BASE_IMAGE=quay.io/aipcc/base-images/cpu:3.1-1763000006 diff --git a/rstudio/rhel9-python-3.12/build-args/cuda.conf b/rstudio/rhel9-python-3.12/build-args/cuda.conf index 065bc1be6a..214c5baf81 100644 --- a/rstudio/rhel9-python-3.12/build-args/cuda.conf +++ b/rstudio/rhel9-python-3.12/build-args/cuda.conf @@ -2,4 +2,4 @@ # CUDA Version : 12.8.1 # Architectures: linux/arm64, linux/x86_64 # Source : https://quay.io/repository/aipcc/base-images/cuda -BASE_IMAGE=quay.io/aipcc/base-images/cuda:3.1-1762903318 +BASE_IMAGE=quay.io/aipcc/base-images/cuda:3.1-1763000001 diff --git a/runtimes/datascience/ubi9-python-3.12/build-args/cpu.conf b/runtimes/datascience/ubi9-python-3.12/build-args/cpu.conf index 8fe9d4edc9..f4c67c24a2 100644 --- a/runtimes/datascience/ubi9-python-3.12/build-args/cpu.conf +++ b/runtimes/datascience/ubi9-python-3.12/build-args/cpu.conf @@ -1,3 +1,3 @@ # Base Image : RHEL 9.6 with Python 3.12 # Architectures: linux/arm64, linux/ppc64le, linux/x86_64, linux/s360x -BASE_IMAGE=quay.io/aipcc/base-images/cpu:3.0-1761580156 +BASE_IMAGE=quay.io/aipcc/base-images/cpu:3.1-1763000001 diff --git a/runtimes/minimal/ubi9-python-3.12/build-args/cpu.conf b/runtimes/minimal/ubi9-python-3.12/build-args/cpu.conf index 8fe9d4edc9..f4c67c24a2 100644 --- a/runtimes/minimal/ubi9-python-3.12/build-args/cpu.conf +++ b/runtimes/minimal/ubi9-python-3.12/build-args/cpu.conf @@ -1,3 +1,3 @@ # Base Image : RHEL 9.6 with Python 3.12 # Architectures: linux/arm64, linux/ppc64le, linux/x86_64, linux/s360x -BASE_IMAGE=quay.io/aipcc/base-images/cpu:3.0-1761580156 +BASE_IMAGE=quay.io/aipcc/base-images/cpu:3.1-1763000001 diff --git a/runtimes/pytorch+llmcompressor/ubi9-python-3.12/build-args/cuda.conf b/runtimes/pytorch+llmcompressor/ubi9-python-3.12/build-args/cuda.conf index 9b62bf6687..214c5baf81 100644 --- a/runtimes/pytorch+llmcompressor/ubi9-python-3.12/build-args/cuda.conf +++ b/runtimes/pytorch+llmcompressor/ubi9-python-3.12/build-args/cuda.conf @@ -2,4 +2,4 @@ # CUDA Version : 12.8.1 # Architectures: linux/arm64, linux/x86_64 # Source : https://quay.io/repository/aipcc/base-images/cuda -BASE_IMAGE=quay.io/aipcc/base-images/cuda:3.0-1756380241 +BASE_IMAGE=quay.io/aipcc/base-images/cuda:3.1-1763000001 diff --git a/runtimes/pytorch/ubi9-python-3.12/build-args/cuda.conf b/runtimes/pytorch/ubi9-python-3.12/build-args/cuda.conf index 9b62bf6687..214c5baf81 100644 --- a/runtimes/pytorch/ubi9-python-3.12/build-args/cuda.conf +++ b/runtimes/pytorch/ubi9-python-3.12/build-args/cuda.conf @@ -2,4 +2,4 @@ # CUDA Version : 12.8.1 # Architectures: linux/arm64, linux/x86_64 # Source : https://quay.io/repository/aipcc/base-images/cuda -BASE_IMAGE=quay.io/aipcc/base-images/cuda:3.0-1756380241 +BASE_IMAGE=quay.io/aipcc/base-images/cuda:3.1-1763000001 diff --git a/runtimes/rocm-pytorch/ubi9-python-3.12/build-args/rocm.conf b/runtimes/rocm-pytorch/ubi9-python-3.12/build-args/rocm.conf index cffbf80141..4fe3c26ed7 100644 --- a/runtimes/rocm-pytorch/ubi9-python-3.12/build-args/rocm.conf +++ b/runtimes/rocm-pytorch/ubi9-python-3.12/build-args/rocm.conf @@ -2,4 +2,4 @@ # ROCm Version : 6.3.4 # Architectures: linux/x86_64 # Source : https://quay.io/repository/aipcc/base-images/rocm -BASE_IMAGE=quay.io/aipcc/base-images/rocm:3.0-1755080929 +BASE_IMAGE=quay.io/aipcc/base-images/rocm:3.1-1762999856 diff --git a/runtimes/rocm-tensorflow/ubi9-python-3.12/build-args/rocm.conf b/runtimes/rocm-tensorflow/ubi9-python-3.12/build-args/rocm.conf index cffbf80141..4fe3c26ed7 100644 --- a/runtimes/rocm-tensorflow/ubi9-python-3.12/build-args/rocm.conf +++ b/runtimes/rocm-tensorflow/ubi9-python-3.12/build-args/rocm.conf @@ -2,4 +2,4 @@ # ROCm Version : 6.3.4 # Architectures: linux/x86_64 # Source : https://quay.io/repository/aipcc/base-images/rocm -BASE_IMAGE=quay.io/aipcc/base-images/rocm:3.0-1755080929 +BASE_IMAGE=quay.io/aipcc/base-images/rocm:3.1-1762999856 diff --git a/runtimes/tensorflow/ubi9-python-3.12/build-args/cuda.conf b/runtimes/tensorflow/ubi9-python-3.12/build-args/cuda.conf index 9b62bf6687..214c5baf81 100644 --- a/runtimes/tensorflow/ubi9-python-3.12/build-args/cuda.conf +++ b/runtimes/tensorflow/ubi9-python-3.12/build-args/cuda.conf @@ -2,4 +2,4 @@ # CUDA Version : 12.8.1 # Architectures: linux/arm64, linux/x86_64 # Source : https://quay.io/repository/aipcc/base-images/cuda -BASE_IMAGE=quay.io/aipcc/base-images/cuda:3.0-1756380241 +BASE_IMAGE=quay.io/aipcc/base-images/cuda:3.1-1763000001 From ab69662c7a3932e5032c0841bcf5c0f3ec8a7039 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Jiri=20Dan=C4=9Bk?= Date: Thu, 13 Nov 2025 07:50:16 +0100 Subject: [PATCH 2/3] RHAIENG-948: remove UBI 9 repository injection across all Dockerfiles ``` + dnf install -y perl mesa-libGL skopeo gcc gcc-c++ make openssl-devel autoconf automake libtool cmake python3-devel pybind11-devel openblas-devel unixODBC-devel Updating Subscription Management repositories. Red Hat Universal Base Image 9 (RPMs) - BaseOS 1.4 MB/s | 433 kB 00:00 Red Hat Universal Base Image 9 (RPMs) - AppStre 6.4 MB/s | 2.2 MB 00:00 Red Hat Universal Base Image 9 (RPMs) - CodeRea 683 kB/s | 174 kB 00:00 Package mesa-libGL-24.2.8-3.el9_6.s390x is already installed. Package skopeo-2:1.20.0-1.el9.s390x is already installed. Package gcc-11.5.0-11.el9.s390x is already installed. Error: Problem: package mesa-dri-drivers-25.0.7-3.el9_7.s390x from ubi-9-appstream-rpms requires libLLVM.so.20.1()(64bit), but none of the providers can be installed - package mesa-dri-drivers-25.0.7-3.el9_7.s390x from ubi-9-appstream-rpms requires libLLVM.so.20.1(LLVM_20.1)(64bit), but none of the providers can be installed - cannot install both llvm-libs-20.1.8-3.el9.s390x from ubi-9-appstream-rpms and llvm-libs-19.1.7-2.el9.s390x from @System - package mesa-libGL-25.0.7-3.el9_7.s390x from ubi-9-appstream-rpms requires libgallium-25.0.7.so()(64bit), but none of the providers can be installed ... ``` # Conflicts: # codeserver/ubi9-python-3.12/Dockerfile.cpu # jupyter/datascience/ubi9-python-3.12/Dockerfile.cpu # jupyter/minimal/ubi9-python-3.12/Dockerfile.cpu # jupyter/minimal/ubi9-python-3.12/Dockerfile.cuda # jupyter/minimal/ubi9-python-3.12/Dockerfile.rocm # jupyter/pytorch+llmcompressor/ubi9-python-3.12/Dockerfile.cuda # jupyter/pytorch/ubi9-python-3.12/Dockerfile.cuda # jupyter/rocm/pytorch/ubi9-python-3.12/Dockerfile.rocm # jupyter/rocm/tensorflow/ubi9-python-3.12/Dockerfile.rocm # jupyter/tensorflow/ubi9-python-3.12/Dockerfile.cuda # jupyter/trustyai/ubi9-python-3.12/Dockerfile.cpu # runtimes/minimal/ubi9-python-3.12/Dockerfile.cpu # runtimes/pytorch+llmcompressor/ubi9-python-3.12/Dockerfile.cuda # runtimes/pytorch/ubi9-python-3.12/Dockerfile.cuda # runtimes/rocm-pytorch/ubi9-python-3.12/Dockerfile.rocm # runtimes/rocm-tensorflow/ubi9-python-3.12/Dockerfile.rocm # runtimes/tensorflow/ubi9-python-3.12/Dockerfile.cuda # Conflicts: # codeserver/ubi9-python-3.12/Dockerfile.konflux.cpu # jupyter/datascience/ubi9-python-3.12/Dockerfile.konflux.cpu # jupyter/minimal/ubi9-python-3.12/Dockerfile.konflux.cpu # jupyter/minimal/ubi9-python-3.12/Dockerfile.konflux.cuda # jupyter/minimal/ubi9-python-3.12/Dockerfile.konflux.rocm # jupyter/pytorch+llmcompressor/ubi9-python-3.12/Dockerfile.konflux.cuda # jupyter/pytorch/ubi9-python-3.12/Dockerfile.konflux.cuda # jupyter/rocm/pytorch/ubi9-python-3.12/Dockerfile.konflux.rocm # jupyter/rocm/tensorflow/ubi9-python-3.12/Dockerfile.konflux.rocm # jupyter/tensorflow/ubi9-python-3.12/Dockerfile.konflux.cuda # jupyter/trustyai/ubi9-python-3.12/Dockerfile.konflux.cpu # rstudio/rhel9-python-3.12/Dockerfile.cpu # rstudio/rhel9-python-3.12/Dockerfile.cuda # runtimes/minimal/ubi9-python-3.12/Dockerfile.konflux.cpu # runtimes/pytorch+llmcompressor/ubi9-python-3.12/Dockerfile.konflux.cuda # runtimes/pytorch/ubi9-python-3.12/Dockerfile.konflux.cuda # runtimes/rocm-pytorch/ubi9-python-3.12/Dockerfile.konflux.rocm # runtimes/rocm-tensorflow/ubi9-python-3.12/Dockerfile.konflux.rocm # runtimes/tensorflow/ubi9-python-3.12/Dockerfile.konflux.cuda --- codeserver/ubi9-python-3.12/Dockerfile.cpu | 13 ------------- codeserver/ubi9-python-3.12/Dockerfile.konflux.cpu | 13 ------------- jupyter/datascience/ubi9-python-3.12/Dockerfile.cpu | 8 -------- .../ubi9-python-3.12/Dockerfile.konflux.cpu | 8 -------- jupyter/minimal/ubi9-python-3.12/Dockerfile.cpu | 8 -------- jupyter/minimal/ubi9-python-3.12/Dockerfile.cuda | 8 -------- .../minimal/ubi9-python-3.12/Dockerfile.konflux.cpu | 8 -------- .../ubi9-python-3.12/Dockerfile.konflux.cuda | 8 -------- .../ubi9-python-3.12/Dockerfile.konflux.rocm | 8 -------- jupyter/minimal/ubi9-python-3.12/Dockerfile.rocm | 8 -------- .../ubi9-python-3.12/Dockerfile.cuda | 8 -------- .../ubi9-python-3.12/Dockerfile.konflux.cuda | 8 -------- jupyter/pytorch/ubi9-python-3.12/Dockerfile.cuda | 8 -------- .../ubi9-python-3.12/Dockerfile.konflux.cuda | 8 -------- .../ubi9-python-3.12/Dockerfile.konflux.rocm | 8 -------- .../rocm/pytorch/ubi9-python-3.12/Dockerfile.rocm | 8 -------- .../ubi9-python-3.12/Dockerfile.konflux.rocm | 8 -------- .../tensorflow/ubi9-python-3.12/Dockerfile.rocm | 8 -------- jupyter/tensorflow/ubi9-python-3.12/Dockerfile.cuda | 8 -------- .../ubi9-python-3.12/Dockerfile.konflux.cuda | 8 -------- jupyter/trustyai/ubi9-python-3.12/Dockerfile.cpu | 8 -------- .../ubi9-python-3.12/Dockerfile.konflux.cpu | 9 --------- rstudio/rhel9-python-3.12/Dockerfile.cpu | 9 --------- rstudio/rhel9-python-3.12/Dockerfile.cuda | 9 --------- .../datascience/ubi9-python-3.12/Dockerfile.cpu | 8 -------- .../ubi9-python-3.12/Dockerfile.konflux.cpu | 8 -------- runtimes/minimal/ubi9-python-3.12/Dockerfile.cpu | 8 -------- .../minimal/ubi9-python-3.12/Dockerfile.konflux.cpu | 8 -------- .../ubi9-python-3.12/Dockerfile.cuda | 8 -------- .../ubi9-python-3.12/Dockerfile.konflux.cuda | 8 -------- runtimes/pytorch/ubi9-python-3.12/Dockerfile.cuda | 8 -------- .../ubi9-python-3.12/Dockerfile.konflux.cuda | 8 -------- .../ubi9-python-3.12/Dockerfile.konflux.rocm | 8 -------- .../rocm-pytorch/ubi9-python-3.12/Dockerfile.rocm | 8 -------- .../ubi9-python-3.12/Dockerfile.konflux.rocm | 8 -------- .../ubi9-python-3.12/Dockerfile.rocm | 8 -------- .../tensorflow/ubi9-python-3.12/Dockerfile.cuda | 8 -------- .../ubi9-python-3.12/Dockerfile.konflux.cuda | 8 -------- 38 files changed, 317 deletions(-) diff --git a/codeserver/ubi9-python-3.12/Dockerfile.cpu b/codeserver/ubi9-python-3.12/Dockerfile.cpu index 49148fe508..f64e5d194a 100644 --- a/codeserver/ubi9-python-3.12/Dockerfile.cpu +++ b/codeserver/ubi9-python-3.12/Dockerfile.cpu @@ -3,9 +3,6 @@ ######################### ARG BASE_IMAGE -# External image alias for UBI repository configuration -FROM registry.access.redhat.com/ubi9/ubi AS ubi-repos - #################### # rpm-base # #################### @@ -18,11 +15,6 @@ WORKDIR /root ENV HOME=/root -# Inject the official UBI 9 repository configuration into the AIPCC base image. -# The Quay-based AIPCC image is "repo-less" by default (https://gitlab.com/redhat/rhel-ai/core/base-images/app#repositories), so dnf cannot upgrade or install packages. -# By copying ubi.repo from the public UBI 9 image, we enable package management for upgrades and installations. -COPY --from=ubi-repos /etc/yum.repos.d/ubi.repo /etc/yum.repos.d/ubi.repo - ARG CODESERVER_SOURCE_CODE=codeserver/ubi9-python-3.12 ARG NODE_VERSION=22.18.0 @@ -78,11 +70,6 @@ WORKDIR /opt/app-root/bin # OS Packages needs to be installed as root USER 0 -# Inject the official UBI 9 repository configuration into the AIPCC base image. -# The Quay-based AIPCC image is "repo-less" by default (https://gitlab.com/redhat/rhel-ai/core/base-images/app#repositories), so dnf cannot upgrade or install packages. -# By copying ubi.repo from the public UBI 9 image, we enable package management for upgrades and installations. -COPY --from=ubi-repos /etc/yum.repos.d/ubi.repo /etc/yum.repos.d/ubi.repo - ### BEGIN upgrade first to avoid fixable vulnerabilities # If we have a Red Hat subscription prepared, refresh it RUN /bin/bash <<'EOF' diff --git a/codeserver/ubi9-python-3.12/Dockerfile.konflux.cpu b/codeserver/ubi9-python-3.12/Dockerfile.konflux.cpu index 0dcecba34a..3811a077d6 100644 --- a/codeserver/ubi9-python-3.12/Dockerfile.konflux.cpu +++ b/codeserver/ubi9-python-3.12/Dockerfile.konflux.cpu @@ -3,9 +3,6 @@ ######################### ARG BASE_IMAGE -# External image alias for UBI repository configuration -FROM registry.access.redhat.com/ubi9/ubi AS ubi-repos - #################### # rpm-base # #################### @@ -18,11 +15,6 @@ WORKDIR /root ENV HOME=/root -# Inject the official UBI 9 repository configuration into the AIPCC base image. -# The Quay-based AIPCC image is "repo-less" by default (https://gitlab.com/redhat/rhel-ai/core/base-images/app#repositories), so dnf cannot upgrade or install packages. -# By copying ubi.repo from the public UBI 9 image, we enable package management for upgrades and installations. -COPY --from=ubi-repos /etc/yum.repos.d/ubi.repo /etc/yum.repos.d/ubi.repo - ARG CODESERVER_SOURCE_CODE=codeserver/ubi9-python-3.12 ARG NODE_VERSION=22.18.0 @@ -78,11 +70,6 @@ WORKDIR /opt/app-root/bin # OS Packages needs to be installed as root USER 0 -# Inject the official UBI 9 repository configuration into the AIPCC base image. -# The Quay-based AIPCC image is "repo-less" by default (https://gitlab.com/redhat/rhel-ai/core/base-images/app#repositories), so dnf cannot upgrade or install packages. -# By copying ubi.repo from the public UBI 9 image, we enable package management for upgrades and installations. -COPY --from=ubi-repos /etc/yum.repos.d/ubi.repo /etc/yum.repos.d/ubi.repo - ### BEGIN upgrade first to avoid fixable vulnerabilities # If we have a Red Hat subscription prepared, refresh it RUN /bin/bash <<'EOF' diff --git a/jupyter/datascience/ubi9-python-3.12/Dockerfile.cpu b/jupyter/datascience/ubi9-python-3.12/Dockerfile.cpu index d9a4f0c3a2..e519ebcc89 100644 --- a/jupyter/datascience/ubi9-python-3.12/Dockerfile.cpu +++ b/jupyter/datascience/ubi9-python-3.12/Dockerfile.cpu @@ -3,9 +3,6 @@ ######################### ARG BASE_IMAGE -# External image alias for UBI repository configuration -FROM registry.access.redhat.com/ubi9/ubi AS ubi-repos - ###################################################### # mongocli-builder (build stage only, not published) # ###################################################### @@ -47,11 +44,6 @@ WORKDIR /opt/app-root/bin USER root ARG TARGETARCH -# Inject the official UBI 9 repository configuration into the AIPCC base image. -# The Quay-based AIPCC image is "repo-less" by default (https://gitlab.com/redhat/rhel-ai/core/base-images/app#repositories), so dnf cannot upgrade or install packages. -# By copying ubi.repo from the public UBI 9 image, we enable package management for upgrades and installations. -COPY --from=ubi-repos /etc/yum.repos.d/ubi.repo /etc/yum.repos.d/ubi.repo - ### BEGIN upgrade first to avoid fixable vulnerabilities # If we have a Red Hat subscription prepared, refresh it RUN /bin/bash <<'EOF' diff --git a/jupyter/datascience/ubi9-python-3.12/Dockerfile.konflux.cpu b/jupyter/datascience/ubi9-python-3.12/Dockerfile.konflux.cpu index 8882619e46..2d674fcc12 100644 --- a/jupyter/datascience/ubi9-python-3.12/Dockerfile.konflux.cpu +++ b/jupyter/datascience/ubi9-python-3.12/Dockerfile.konflux.cpu @@ -3,9 +3,6 @@ ######################### ARG BASE_IMAGE -# External image alias for UBI repository configuration -FROM registry.access.redhat.com/ubi9/ubi AS ubi-repos - ###################################################### # mongocli-builder (build stage only, not published) # ###################################################### @@ -47,11 +44,6 @@ WORKDIR /opt/app-root/bin USER root ARG TARGETARCH -# Inject the official UBI 9 repository configuration into the AIPCC base image. -# The Quay-based AIPCC image is "repo-less" by default (https://gitlab.com/redhat/rhel-ai/core/base-images/app#repositories), so dnf cannot upgrade or install packages. -# By copying ubi.repo from the public UBI 9 image, we enable package management for upgrades and installations. -COPY --from=ubi-repos /etc/yum.repos.d/ubi.repo /etc/yum.repos.d/ubi.repo - ### BEGIN upgrade first to avoid fixable vulnerabilities # If we have a Red Hat subscription prepared, refresh it RUN /bin/bash <<'EOF' diff --git a/jupyter/minimal/ubi9-python-3.12/Dockerfile.cpu b/jupyter/minimal/ubi9-python-3.12/Dockerfile.cpu index 57eb634d62..f4774af5eb 100644 --- a/jupyter/minimal/ubi9-python-3.12/Dockerfile.cpu +++ b/jupyter/minimal/ubi9-python-3.12/Dockerfile.cpu @@ -3,9 +3,6 @@ ######################### ARG BASE_IMAGE -# External image alias for UBI repository configuration -FROM registry.access.redhat.com/ubi9/ubi AS ubi-repos - ############################ # Stage 1: PDF Tool Build # ############################ @@ -35,11 +32,6 @@ WORKDIR /opt/app-root/bin # OS Packages needs to be installed as root USER 0 -# Inject the official UBI 9 repository configuration into the AIPCC base image. -# The Quay-based AIPCC image is "repo-less" by default (https://gitlab.com/redhat/rhel-ai/core/base-images/app#repositories), so dnf cannot upgrade or install packages. -# By copying ubi.repo from the public UBI 9 image, we enable package management for upgrades and installations. -COPY --from=ubi-repos /etc/yum.repos.d/ubi.repo /etc/yum.repos.d/ubi.repo - ### BEGIN upgrade first to avoid fixable vulnerabilities # If we have a Red Hat subscription prepared, refresh it RUN /bin/bash <<'EOF' diff --git a/jupyter/minimal/ubi9-python-3.12/Dockerfile.cuda b/jupyter/minimal/ubi9-python-3.12/Dockerfile.cuda index b62fb96d30..7b28b00a34 100644 --- a/jupyter/minimal/ubi9-python-3.12/Dockerfile.cuda +++ b/jupyter/minimal/ubi9-python-3.12/Dockerfile.cuda @@ -5,9 +5,6 @@ ARG TARGETARCH ######################### ARG BASE_IMAGE -# External image alias for UBI repository configuration -FROM registry.access.redhat.com/ubi9/ubi AS ubi-repos - #################### # cuda-base # #################### @@ -18,11 +15,6 @@ WORKDIR /opt/app-root/bin # OS Packages needs to be installed as root USER 0 -# Inject the official UBI 9 repository configuration into the AIPCC base image. -# The Quay-based AIPCC image is "repo-less" by default (https://gitlab.com/redhat/rhel-ai/core/base-images/app#repositories), so dnf cannot upgrade or install packages. -# By copying ubi.repo from the public UBI 9 image, we enable package management for upgrades and installations. -COPY --from=ubi-repos /etc/yum.repos.d/ubi.repo /etc/yum.repos.d/ubi.repo - ### BEGIN upgrade first to avoid fixable vulnerabilities # If we have a Red Hat subscription prepared, refresh it RUN /bin/bash <<'EOF' diff --git a/jupyter/minimal/ubi9-python-3.12/Dockerfile.konflux.cpu b/jupyter/minimal/ubi9-python-3.12/Dockerfile.konflux.cpu index b6837cf605..9ac418661f 100644 --- a/jupyter/minimal/ubi9-python-3.12/Dockerfile.konflux.cpu +++ b/jupyter/minimal/ubi9-python-3.12/Dockerfile.konflux.cpu @@ -3,9 +3,6 @@ ######################### ARG BASE_IMAGE -# External image alias for UBI repository configuration -FROM registry.access.redhat.com/ubi9/ubi AS ubi-repos - ############################ # Stage 1: PDF Tool Build # ############################ @@ -35,11 +32,6 @@ WORKDIR /opt/app-root/bin # OS Packages needs to be installed as root USER 0 -# Inject the official UBI 9 repository configuration into the AIPCC base image. -# The Quay-based AIPCC image is "repo-less" by default (https://gitlab.com/redhat/rhel-ai/core/base-images/app#repositories), so dnf cannot upgrade or install packages. -# By copying ubi.repo from the public UBI 9 image, we enable package management for upgrades and installations. -COPY --from=ubi-repos /etc/yum.repos.d/ubi.repo /etc/yum.repos.d/ubi.repo - ### BEGIN upgrade first to avoid fixable vulnerabilities # If we have a Red Hat subscription prepared, refresh it RUN /bin/bash <<'EOF' diff --git a/jupyter/minimal/ubi9-python-3.12/Dockerfile.konflux.cuda b/jupyter/minimal/ubi9-python-3.12/Dockerfile.konflux.cuda index fe4268a87d..7ce874259d 100644 --- a/jupyter/minimal/ubi9-python-3.12/Dockerfile.konflux.cuda +++ b/jupyter/minimal/ubi9-python-3.12/Dockerfile.konflux.cuda @@ -5,9 +5,6 @@ ARG TARGETARCH ######################### ARG BASE_IMAGE -# External image alias for UBI repository configuration -FROM registry.access.redhat.com/ubi9/ubi AS ubi-repos - #################### # cuda-base # #################### @@ -18,11 +15,6 @@ WORKDIR /opt/app-root/bin # OS Packages needs to be installed as root USER 0 -# Inject the official UBI 9 repository configuration into the AIPCC base image. -# The Quay-based AIPCC image is "repo-less" by default (https://gitlab.com/redhat/rhel-ai/core/base-images/app#repositories), so dnf cannot upgrade or install packages. -# By copying ubi.repo from the public UBI 9 image, we enable package management for upgrades and installations. -COPY --from=ubi-repos /etc/yum.repos.d/ubi.repo /etc/yum.repos.d/ubi.repo - ### BEGIN upgrade first to avoid fixable vulnerabilities # If we have a Red Hat subscription prepared, refresh it RUN /bin/bash <<'EOF' diff --git a/jupyter/minimal/ubi9-python-3.12/Dockerfile.konflux.rocm b/jupyter/minimal/ubi9-python-3.12/Dockerfile.konflux.rocm index b2702251f5..feca507bd3 100644 --- a/jupyter/minimal/ubi9-python-3.12/Dockerfile.konflux.rocm +++ b/jupyter/minimal/ubi9-python-3.12/Dockerfile.konflux.rocm @@ -3,9 +3,6 @@ ######################### ARG BASE_IMAGE -# External image alias for UBI repository configuration -FROM registry.access.redhat.com/ubi9/ubi AS ubi-repos - #################### # rocm-base # #################### @@ -16,11 +13,6 @@ WORKDIR /opt/app-root/bin # OS Packages needs to be installed as root USER 0 -# Inject the official UBI 9 repository configuration into the AIPCC base image. -# The Quay-based AIPCC image is "repo-less" by default (https://gitlab.com/redhat/rhel-ai/core/base-images/app#repositories), so dnf cannot upgrade or install packages. -# By copying ubi.repo from the public UBI 9 image, we enable package management for upgrades and installations. -COPY --from=ubi-repos /etc/yum.repos.d/ubi.repo /etc/yum.repos.d/ubi.repo - ### BEGIN upgrade first to avoid fixable vulnerabilities # If we have a Red Hat subscription prepared, refresh it RUN /bin/bash <<'EOF' diff --git a/jupyter/minimal/ubi9-python-3.12/Dockerfile.rocm b/jupyter/minimal/ubi9-python-3.12/Dockerfile.rocm index 453153c3ad..2882a34f11 100644 --- a/jupyter/minimal/ubi9-python-3.12/Dockerfile.rocm +++ b/jupyter/minimal/ubi9-python-3.12/Dockerfile.rocm @@ -3,9 +3,6 @@ ######################### ARG BASE_IMAGE -# External image alias for UBI repository configuration -FROM registry.access.redhat.com/ubi9/ubi AS ubi-repos - #################### # rocm-base # #################### @@ -16,11 +13,6 @@ WORKDIR /opt/app-root/bin # OS Packages needs to be installed as root USER 0 -# Inject the official UBI 9 repository configuration into the AIPCC base image. -# The Quay-based AIPCC image is "repo-less" by default (https://gitlab.com/redhat/rhel-ai/core/base-images/app#repositories), so dnf cannot upgrade or install packages. -# By copying ubi.repo from the public UBI 9 image, we enable package management for upgrades and installations. -COPY --from=ubi-repos /etc/yum.repos.d/ubi.repo /etc/yum.repos.d/ubi.repo - ### BEGIN upgrade first to avoid fixable vulnerabilities # If we have a Red Hat subscription prepared, refresh it RUN /bin/bash <<'EOF' diff --git a/jupyter/pytorch+llmcompressor/ubi9-python-3.12/Dockerfile.cuda b/jupyter/pytorch+llmcompressor/ubi9-python-3.12/Dockerfile.cuda index 333bc36d11..1dc85d732c 100644 --- a/jupyter/pytorch+llmcompressor/ubi9-python-3.12/Dockerfile.cuda +++ b/jupyter/pytorch+llmcompressor/ubi9-python-3.12/Dockerfile.cuda @@ -5,9 +5,6 @@ ARG TARGETARCH ######################### ARG BASE_IMAGE -# External image alias for UBI repository configuration -FROM registry.access.redhat.com/ubi9/ubi AS ubi-repos - ###################################################### # mongocli-builder (build stage only, not published) # ###################################################### @@ -34,11 +31,6 @@ WORKDIR /opt/app-root/bin # OS Packages needs to be installed as root USER 0 -# Inject the official UBI 9 repository configuration into the AIPCC base image. -# The Quay-based AIPCC image is "repo-less" by default (https://gitlab.com/redhat/rhel-ai/core/base-images/app#repositories), so dnf cannot upgrade or install packages. -# By copying ubi.repo from the public UBI 9 image, we enable package management for upgrades and installations. -COPY --from=ubi-repos /etc/yum.repos.d/ubi.repo /etc/yum.repos.d/ubi.repo - ### BEGIN upgrade first to avoid fixable vulnerabilities # If we have a Red Hat subscription prepared, refresh it RUN /bin/bash <<'EOF' diff --git a/jupyter/pytorch+llmcompressor/ubi9-python-3.12/Dockerfile.konflux.cuda b/jupyter/pytorch+llmcompressor/ubi9-python-3.12/Dockerfile.konflux.cuda index fb1c6fc1cc..d1680dad27 100644 --- a/jupyter/pytorch+llmcompressor/ubi9-python-3.12/Dockerfile.konflux.cuda +++ b/jupyter/pytorch+llmcompressor/ubi9-python-3.12/Dockerfile.konflux.cuda @@ -5,9 +5,6 @@ ARG TARGETARCH ######################### ARG BASE_IMAGE -# External image alias for UBI repository configuration -FROM registry.access.redhat.com/ubi9/ubi AS ubi-repos - ###################################################### # mongocli-builder (build stage only, not published) # ###################################################### @@ -34,11 +31,6 @@ WORKDIR /opt/app-root/bin # OS Packages needs to be installed as root USER 0 -# Inject the official UBI 9 repository configuration into the AIPCC base image. -# The Quay-based AIPCC image is "repo-less" by default (https://gitlab.com/redhat/rhel-ai/core/base-images/app#repositories), so dnf cannot upgrade or install packages. -# By copying ubi.repo from the public UBI 9 image, we enable package management for upgrades and installations. -COPY --from=ubi-repos /etc/yum.repos.d/ubi.repo /etc/yum.repos.d/ubi.repo - ### BEGIN upgrade first to avoid fixable vulnerabilities # If we have a Red Hat subscription prepared, refresh it RUN /bin/bash <<'EOF' diff --git a/jupyter/pytorch/ubi9-python-3.12/Dockerfile.cuda b/jupyter/pytorch/ubi9-python-3.12/Dockerfile.cuda index 7b59d5c4a5..3f898fffda 100644 --- a/jupyter/pytorch/ubi9-python-3.12/Dockerfile.cuda +++ b/jupyter/pytorch/ubi9-python-3.12/Dockerfile.cuda @@ -5,9 +5,6 @@ ARG TARGETARCH ######################### ARG BASE_IMAGE -# External image alias for UBI repository configuration -FROM registry.access.redhat.com/ubi9/ubi AS ubi-repos - ###################################################### # mongocli-builder (build stage only, not published) # ###################################################### @@ -34,11 +31,6 @@ WORKDIR /opt/app-root/bin # OS Packages needs to be installed as root USER 0 -# Inject the official UBI 9 repository configuration into the AIPCC base image. -# The Quay-based AIPCC image is "repo-less" by default (https://gitlab.com/redhat/rhel-ai/core/base-images/app#repositories), so dnf cannot upgrade or install packages. -# By copying ubi.repo from the public UBI 9 image, we enable package management for upgrades and installations. -COPY --from=ubi-repos /etc/yum.repos.d/ubi.repo /etc/yum.repos.d/ubi.repo - ### BEGIN upgrade first to avoid fixable vulnerabilities # If we have a Red Hat subscription prepared, refresh it RUN /bin/bash <<'EOF' diff --git a/jupyter/pytorch/ubi9-python-3.12/Dockerfile.konflux.cuda b/jupyter/pytorch/ubi9-python-3.12/Dockerfile.konflux.cuda index 3d67cfde9c..346a995a00 100644 --- a/jupyter/pytorch/ubi9-python-3.12/Dockerfile.konflux.cuda +++ b/jupyter/pytorch/ubi9-python-3.12/Dockerfile.konflux.cuda @@ -5,9 +5,6 @@ ARG TARGETARCH ######################### ARG BASE_IMAGE -# External image alias for UBI repository configuration -FROM registry.access.redhat.com/ubi9/ubi AS ubi-repos - ###################################################### # mongocli-builder (build stage only, not published) # ###################################################### @@ -34,11 +31,6 @@ WORKDIR /opt/app-root/bin # OS Packages needs to be installed as root USER 0 -# Inject the official UBI 9 repository configuration into the AIPCC base image. -# The Quay-based AIPCC image is "repo-less" by default (https://gitlab.com/redhat/rhel-ai/core/base-images/app#repositories), so dnf cannot upgrade or install packages. -# By copying ubi.repo from the public UBI 9 image, we enable package management for upgrades and installations. -COPY --from=ubi-repos /etc/yum.repos.d/ubi.repo /etc/yum.repos.d/ubi.repo - ### BEGIN upgrade first to avoid fixable vulnerabilities # If we have a Red Hat subscription prepared, refresh it RUN /bin/bash <<'EOF' diff --git a/jupyter/rocm/pytorch/ubi9-python-3.12/Dockerfile.konflux.rocm b/jupyter/rocm/pytorch/ubi9-python-3.12/Dockerfile.konflux.rocm index 987145c343..3230001b2c 100644 --- a/jupyter/rocm/pytorch/ubi9-python-3.12/Dockerfile.konflux.rocm +++ b/jupyter/rocm/pytorch/ubi9-python-3.12/Dockerfile.konflux.rocm @@ -3,9 +3,6 @@ ######################### ARG BASE_IMAGE -# External image alias for UBI repository configuration -FROM registry.access.redhat.com/ubi9/ubi AS ubi-repos - ###################################################### # mongocli-builder (build stage only, not published) # ###################################################### @@ -32,11 +29,6 @@ WORKDIR /opt/app-root/bin # OS Packages needs to be installed as root USER 0 -# Inject the official UBI 9 repository configuration into the AIPCC base image. -# The Quay-based AIPCC image is "repo-less" by default (https://gitlab.com/redhat/rhel-ai/core/base-images/app#repositories), so dnf cannot upgrade or install packages. -# By copying ubi.repo from the public UBI 9 image, we enable package management for upgrades and installations. -COPY --from=ubi-repos /etc/yum.repos.d/ubi.repo /etc/yum.repos.d/ubi.repo - ### BEGIN upgrade first to avoid fixable vulnerabilities # If we have a Red Hat subscription prepared, refresh it RUN /bin/bash <<'EOF' diff --git a/jupyter/rocm/pytorch/ubi9-python-3.12/Dockerfile.rocm b/jupyter/rocm/pytorch/ubi9-python-3.12/Dockerfile.rocm index 8cbf14929f..26cfa03739 100644 --- a/jupyter/rocm/pytorch/ubi9-python-3.12/Dockerfile.rocm +++ b/jupyter/rocm/pytorch/ubi9-python-3.12/Dockerfile.rocm @@ -3,9 +3,6 @@ ######################### ARG BASE_IMAGE -# External image alias for UBI repository configuration -FROM registry.access.redhat.com/ubi9/ubi AS ubi-repos - ###################################################### # mongocli-builder (build stage only, not published) # ###################################################### @@ -32,11 +29,6 @@ WORKDIR /opt/app-root/bin # OS Packages needs to be installed as root USER 0 -# Inject the official UBI 9 repository configuration into the AIPCC base image. -# The Quay-based AIPCC image is "repo-less" by default (https://gitlab.com/redhat/rhel-ai/core/base-images/app#repositories), so dnf cannot upgrade or install packages. -# By copying ubi.repo from the public UBI 9 image, we enable package management for upgrades and installations. -COPY --from=ubi-repos /etc/yum.repos.d/ubi.repo /etc/yum.repos.d/ubi.repo - ### BEGIN upgrade first to avoid fixable vulnerabilities # If we have a Red Hat subscription prepared, refresh it RUN /bin/bash <<'EOF' diff --git a/jupyter/rocm/tensorflow/ubi9-python-3.12/Dockerfile.konflux.rocm b/jupyter/rocm/tensorflow/ubi9-python-3.12/Dockerfile.konflux.rocm index e3d12b360e..0e1f66d35b 100644 --- a/jupyter/rocm/tensorflow/ubi9-python-3.12/Dockerfile.konflux.rocm +++ b/jupyter/rocm/tensorflow/ubi9-python-3.12/Dockerfile.konflux.rocm @@ -3,9 +3,6 @@ ######################### ARG BASE_IMAGE -# External image alias for UBI repository configuration -FROM registry.access.redhat.com/ubi9/ubi AS ubi-repos - ###################################################### # mongocli-builder (build stage only, not published) # ###################################################### @@ -32,11 +29,6 @@ WORKDIR /opt/app-root/bin # OS Packages needs to be installed as root USER 0 -# Inject the official UBI 9 repository configuration into the AIPCC base image. -# The Quay-based AIPCC image is "repo-less" by default (https://gitlab.com/redhat/rhel-ai/core/base-images/app#repositories), so dnf cannot upgrade or install packages. -# By copying ubi.repo from the public UBI 9 image, we enable package management for upgrades and installations. -COPY --from=ubi-repos /etc/yum.repos.d/ubi.repo /etc/yum.repos.d/ubi.repo - ### BEGIN upgrade first to avoid fixable vulnerabilities # If we have a Red Hat subscription prepared, refresh it RUN /bin/bash <<'EOF' diff --git a/jupyter/rocm/tensorflow/ubi9-python-3.12/Dockerfile.rocm b/jupyter/rocm/tensorflow/ubi9-python-3.12/Dockerfile.rocm index 5dd4746557..35559fb7c8 100644 --- a/jupyter/rocm/tensorflow/ubi9-python-3.12/Dockerfile.rocm +++ b/jupyter/rocm/tensorflow/ubi9-python-3.12/Dockerfile.rocm @@ -3,9 +3,6 @@ ######################### ARG BASE_IMAGE -# External image alias for UBI repository configuration -FROM registry.access.redhat.com/ubi9/ubi AS ubi-repos - ###################################################### # mongocli-builder (build stage only, not published) # ###################################################### @@ -32,11 +29,6 @@ WORKDIR /opt/app-root/bin # OS Packages needs to be installed as root USER 0 -# Inject the official UBI 9 repository configuration into the AIPCC base image. -# The Quay-based AIPCC image is "repo-less" by default (https://gitlab.com/redhat/rhel-ai/core/base-images/app#repositories), so dnf cannot upgrade or install packages. -# By copying ubi.repo from the public UBI 9 image, we enable package management for upgrades and installations. -COPY --from=ubi-repos /etc/yum.repos.d/ubi.repo /etc/yum.repos.d/ubi.repo - ### BEGIN upgrade first to avoid fixable vulnerabilities # If we have a Red Hat subscription prepared, refresh it RUN /bin/bash <<'EOF' diff --git a/jupyter/tensorflow/ubi9-python-3.12/Dockerfile.cuda b/jupyter/tensorflow/ubi9-python-3.12/Dockerfile.cuda index 4ae84499eb..d669e9217d 100644 --- a/jupyter/tensorflow/ubi9-python-3.12/Dockerfile.cuda +++ b/jupyter/tensorflow/ubi9-python-3.12/Dockerfile.cuda @@ -5,9 +5,6 @@ ARG TARGETARCH ######################### ARG BASE_IMAGE -# External image alias for UBI repository configuration -FROM registry.access.redhat.com/ubi9/ubi AS ubi-repos - ###################################################### # mongocli-builder (build stage only, not published) # ###################################################### @@ -34,11 +31,6 @@ WORKDIR /opt/app-root/bin # OS Packages needs to be installed as root USER 0 -# Inject the official UBI 9 repository configuration into the AIPCC base image. -# The Quay-based AIPCC image is "repo-less" by default (https://gitlab.com/redhat/rhel-ai/core/base-images/app#repositories), so dnf cannot upgrade or install packages. -# By copying ubi.repo from the public UBI 9 image, we enable package management for upgrades and installations. -COPY --from=ubi-repos /etc/yum.repos.d/ubi.repo /etc/yum.repos.d/ubi.repo - ### BEGIN upgrade first to avoid fixable vulnerabilities # If we have a Red Hat subscription prepared, refresh it RUN /bin/bash <<'EOF' diff --git a/jupyter/tensorflow/ubi9-python-3.12/Dockerfile.konflux.cuda b/jupyter/tensorflow/ubi9-python-3.12/Dockerfile.konflux.cuda index a6b8907402..a4e0d86341 100644 --- a/jupyter/tensorflow/ubi9-python-3.12/Dockerfile.konflux.cuda +++ b/jupyter/tensorflow/ubi9-python-3.12/Dockerfile.konflux.cuda @@ -5,9 +5,6 @@ ARG TARGETARCH ######################### ARG BASE_IMAGE -# External image alias for UBI repository configuration -FROM registry.access.redhat.com/ubi9/ubi AS ubi-repos - ###################################################### # mongocli-builder (build stage only, not published) # ###################################################### @@ -34,11 +31,6 @@ WORKDIR /opt/app-root/bin # OS Packages needs to be installed as root USER 0 -# Inject the official UBI 9 repository configuration into the AIPCC base image. -# The Quay-based AIPCC image is "repo-less" by default (https://gitlab.com/redhat/rhel-ai/core/base-images/app#repositories), so dnf cannot upgrade or install packages. -# By copying ubi.repo from the public UBI 9 image, we enable package management for upgrades and installations. -COPY --from=ubi-repos /etc/yum.repos.d/ubi.repo /etc/yum.repos.d/ubi.repo - ### BEGIN upgrade first to avoid fixable vulnerabilities # If we have a Red Hat subscription prepared, refresh it RUN /bin/bash <<'EOF' diff --git a/jupyter/trustyai/ubi9-python-3.12/Dockerfile.cpu b/jupyter/trustyai/ubi9-python-3.12/Dockerfile.cpu index 82e6663e58..384508e587 100644 --- a/jupyter/trustyai/ubi9-python-3.12/Dockerfile.cpu +++ b/jupyter/trustyai/ubi9-python-3.12/Dockerfile.cpu @@ -3,9 +3,6 @@ ######################### ARG BASE_IMAGE -# External image alias for UBI repository configuration -FROM registry.access.redhat.com/ubi9/ubi AS ubi-repos - ###################################################### # mongocli-builder (build stage only, not published) # ###################################################### @@ -57,11 +54,6 @@ WORKDIR /opt/app-root/bin # OS Packages needs to be installed as root USER root -# Inject the official UBI 9 repository configuration into the AIPCC base image. -# The Quay-based AIPCC image is "repo-less" by default (https://gitlab.com/redhat/rhel-ai/core/base-images/app#repositories), so dnf cannot upgrade or install packages. -# By copying ubi.repo from the public UBI 9 image, we enable package management for upgrades and installations. -COPY --from=ubi-repos /etc/yum.repos.d/ubi.repo /etc/yum.repos.d/ubi.repo - ### BEGIN upgrade first to avoid fixable vulnerabilities # If we have a Red Hat subscription prepared, refresh it RUN /bin/bash <<'EOF' diff --git a/jupyter/trustyai/ubi9-python-3.12/Dockerfile.konflux.cpu b/jupyter/trustyai/ubi9-python-3.12/Dockerfile.konflux.cpu index 5cdd1664f6..c15ab8ac0b 100644 --- a/jupyter/trustyai/ubi9-python-3.12/Dockerfile.konflux.cpu +++ b/jupyter/trustyai/ubi9-python-3.12/Dockerfile.konflux.cpu @@ -3,9 +3,6 @@ ######################### ARG BASE_IMAGE -# External image alias for UBI repository configuration -FROM registry.access.redhat.com/ubi9/ubi AS ubi-repos - ###################################################### # mongocli-builder (build stage only, not published) # ###################################################### @@ -57,11 +54,6 @@ WORKDIR /opt/app-root/bin # OS Packages needs to be installed as root USER root -# Inject the official UBI 9 repository configuration into the AIPCC base image. -# The Quay-based AIPCC image is "repo-less" by default (https://gitlab.com/redhat/rhel-ai/core/base-images/app#repositories), so dnf cannot upgrade or install packages. -# By copying ubi.repo from the public UBI 9 image, we enable package management for upgrades and installations. -COPY --from=ubi-repos /etc/yum.repos.d/ubi.repo /etc/yum.repos.d/ubi.repo - ### BEGIN upgrade first to avoid fixable vulnerabilities # If we have a Red Hat subscription prepared, refresh it RUN /bin/bash <<'EOF' @@ -135,7 +127,6 @@ WORKDIR /opt/app-root/src ENTRYPOINT ["start-notebook.sh"] - ######################## # jupyter-datascience # ######################## diff --git a/rstudio/rhel9-python-3.12/Dockerfile.cpu b/rstudio/rhel9-python-3.12/Dockerfile.cpu index d89e199ab3..58c19ef1d7 100644 --- a/rstudio/rhel9-python-3.12/Dockerfile.cpu +++ b/rstudio/rhel9-python-3.12/Dockerfile.cpu @@ -5,9 +5,6 @@ ARG TARGETARCH ######################### ARG BASE_IMAGE -# External image alias for UBI repository configuration -FROM registry.access.redhat.com/ubi9/ubi AS ubi-repos - #################### # cpu-base # #################### @@ -18,12 +15,6 @@ WORKDIR /opt/app-root/bin # OS Packages needs to be installed as root USER root -# Inject the official UBI 9 repository configuration into the AIPCC base image. -# The Quay-based AIPCC image is "repo-less" by default (https://gitlab.com/redhat/rhel-ai/core/base-images/app#repositories), so dnf cannot upgrade or install packages. -# By copying ubi.repo from the public UBI 9 image, we enable package management for upgrades and installations. -COPY --from=ubi-repos /etc/yum.repos.d/ubi.repo /etc/yum.repos.d/ubi.repo -COPY --from=ubi-repos /etc/pki/rpm-gpg/RPM-GPG-KEY-redhat-release /etc/pki/rpm-gpg/RPM-GPG-KEY-redhat-release - ### BEGIN upgrade first to avoid fixable vulnerabilities # If we have a Red Hat subscription prepared, refresh it RUN /bin/bash <<'EOF' diff --git a/rstudio/rhel9-python-3.12/Dockerfile.cuda b/rstudio/rhel9-python-3.12/Dockerfile.cuda index 58a5373db3..380a1db174 100644 --- a/rstudio/rhel9-python-3.12/Dockerfile.cuda +++ b/rstudio/rhel9-python-3.12/Dockerfile.cuda @@ -5,9 +5,6 @@ ARG TARGETARCH ######################### ARG BASE_IMAGE -# External image alias for UBI repository configuration -FROM registry.access.redhat.com/ubi9/ubi AS ubi-repos - #################### # cuda-base # #################### @@ -18,12 +15,6 @@ WORKDIR /opt/app-root/bin # OS Packages needs to be installed as root USER root -# Inject the official UBI 9 repository configuration into the AIPCC base image. -# The Quay-based AIPCC image is "repo-less" by default (https://gitlab.com/redhat/rhel-ai/core/base-images/app#repositories), so dnf cannot upgrade or install packages. -# By copying ubi.repo from the public UBI 9 image, we enable package management for upgrades and installations. -COPY --from=ubi-repos /etc/yum.repos.d/ubi.repo /etc/yum.repos.d/ubi.repo -COPY --from=ubi-repos /etc/pki/rpm-gpg/RPM-GPG-KEY-redhat-release /etc/pki/rpm-gpg/RPM-GPG-KEY-redhat-release - ### BEGIN upgrade first to avoid fixable vulnerabilities # If we have a Red Hat subscription prepared, refresh it RUN /bin/bash <<'EOF' diff --git a/runtimes/datascience/ubi9-python-3.12/Dockerfile.cpu b/runtimes/datascience/ubi9-python-3.12/Dockerfile.cpu index 67b6e1b671..94fd2ad841 100644 --- a/runtimes/datascience/ubi9-python-3.12/Dockerfile.cpu +++ b/runtimes/datascience/ubi9-python-3.12/Dockerfile.cpu @@ -3,9 +3,6 @@ ######################### ARG BASE_IMAGE -# External image alias for UBI repository configuration -FROM registry.access.redhat.com/ubi9/ubi AS ubi-repos - #################### # cpu-base # #################### @@ -18,11 +15,6 @@ WORKDIR /opt/app-root/bin # OS Packages needs to be installed as root USER 0 -# Inject the official UBI 9 repository configuration into the AIPCC base image. -# The Quay-based AIPCC image is "repo-less" by default (https://gitlab.com/redhat/rhel-ai/core/base-images/app#repositories), so dnf cannot upgrade or install packages. -# By copying ubi.repo from the public UBI 9 image, we enable package management for upgrades and installations. -COPY --from=ubi-repos /etc/yum.repos.d/ubi.repo /etc/yum.repos.d/ubi.repo - ARG TARGETARCH ### BEGIN upgrade first to avoid fixable vulnerabilities diff --git a/runtimes/datascience/ubi9-python-3.12/Dockerfile.konflux.cpu b/runtimes/datascience/ubi9-python-3.12/Dockerfile.konflux.cpu index 30a1f5569c..0ad258442c 100644 --- a/runtimes/datascience/ubi9-python-3.12/Dockerfile.konflux.cpu +++ b/runtimes/datascience/ubi9-python-3.12/Dockerfile.konflux.cpu @@ -3,9 +3,6 @@ ######################### ARG BASE_IMAGE -# External image alias for UBI repository configuration -FROM registry.access.redhat.com/ubi9/ubi AS ubi-repos - #################### # cpu-base # #################### @@ -18,11 +15,6 @@ WORKDIR /opt/app-root/bin # OS Packages needs to be installed as root USER 0 -# Inject the official UBI 9 repository configuration into the AIPCC base image. -# The Quay-based AIPCC image is "repo-less" by default (https://gitlab.com/redhat/rhel-ai/core/base-images/app#repositories), so dnf cannot upgrade or install packages. -# By copying ubi.repo from the public UBI 9 image, we enable package management for upgrades and installations. -COPY --from=ubi-repos /etc/yum.repos.d/ubi.repo /etc/yum.repos.d/ubi.repo - ARG TARGETARCH ### BEGIN upgrade first to avoid fixable vulnerabilities diff --git a/runtimes/minimal/ubi9-python-3.12/Dockerfile.cpu b/runtimes/minimal/ubi9-python-3.12/Dockerfile.cpu index cc7d65b0f5..22c68be400 100644 --- a/runtimes/minimal/ubi9-python-3.12/Dockerfile.cpu +++ b/runtimes/minimal/ubi9-python-3.12/Dockerfile.cpu @@ -3,9 +3,6 @@ ######################### ARG BASE_IMAGE -# External image alias for UBI repository configuration -FROM registry.access.redhat.com/ubi9/ubi AS ubi-repos - #################### # cpu-base # #################### @@ -16,11 +13,6 @@ WORKDIR /opt/app-root/bin # OS Packages needs to be installed as root USER 0 -# Inject the official UBI 9 repository configuration into the AIPCC base image. -# The Quay-based AIPCC image is "repo-less" by default (https://gitlab.com/redhat/rhel-ai/core/base-images/app#repositories), so dnf cannot upgrade or install packages. -# By copying ubi.repo from the public UBI 9 image, we enable package management for upgrades and installations. -COPY --from=ubi-repos /etc/yum.repos.d/ubi.repo /etc/yum.repos.d/ubi.repo - ### BEGIN upgrade first to avoid fixable vulnerabilities # If we have a Red Hat subscription prepared, refresh it RUN /bin/bash <<'EOF' diff --git a/runtimes/minimal/ubi9-python-3.12/Dockerfile.konflux.cpu b/runtimes/minimal/ubi9-python-3.12/Dockerfile.konflux.cpu index 63db2c7467..6e96264a19 100644 --- a/runtimes/minimal/ubi9-python-3.12/Dockerfile.konflux.cpu +++ b/runtimes/minimal/ubi9-python-3.12/Dockerfile.konflux.cpu @@ -3,9 +3,6 @@ ######################### ARG BASE_IMAGE -# External image alias for UBI repository configuration -FROM registry.access.redhat.com/ubi9/ubi AS ubi-repos - #################### # cpu-base # #################### @@ -16,11 +13,6 @@ WORKDIR /opt/app-root/bin # OS Packages needs to be installed as root USER 0 -# Inject the official UBI 9 repository configuration into the AIPCC base image. -# The Quay-based AIPCC image is "repo-less" by default (https://gitlab.com/redhat/rhel-ai/core/base-images/app#repositories), so dnf cannot upgrade or install packages. -# By copying ubi.repo from the public UBI 9 image, we enable package management for upgrades and installations. -COPY --from=ubi-repos /etc/yum.repos.d/ubi.repo /etc/yum.repos.d/ubi.repo - ### BEGIN upgrade first to avoid fixable vulnerabilities # If we have a Red Hat subscription prepared, refresh it RUN /bin/bash <<'EOF' diff --git a/runtimes/pytorch+llmcompressor/ubi9-python-3.12/Dockerfile.cuda b/runtimes/pytorch+llmcompressor/ubi9-python-3.12/Dockerfile.cuda index ff6768fee8..86879ba714 100644 --- a/runtimes/pytorch+llmcompressor/ubi9-python-3.12/Dockerfile.cuda +++ b/runtimes/pytorch+llmcompressor/ubi9-python-3.12/Dockerfile.cuda @@ -5,9 +5,6 @@ ARG TARGETARCH ######################### ARG BASE_IMAGE -# External image alias for UBI repository configuration -FROM registry.access.redhat.com/ubi9/ubi AS ubi-repos - #################### # cuda-base # #################### @@ -18,11 +15,6 @@ WORKDIR /opt/app-root/bin # OS Packages needs to be installed as root USER 0 -# Inject the official UBI 9 repository configuration into the AIPCC base image. -# The Quay-based AIPCC image is "repo-less" by default (https://gitlab.com/redhat/rhel-ai/core/base-images/app#repositories), so dnf cannot upgrade or install packages. -# By copying ubi.repo from the public UBI 9 image, we enable package management for upgrades and installations. -COPY --from=ubi-repos /etc/yum.repos.d/ubi.repo /etc/yum.repos.d/ubi.repo - ### BEGIN upgrade first to avoid fixable vulnerabilities # If we have a Red Hat subscription prepared, refresh it RUN /bin/bash <<'EOF' diff --git a/runtimes/pytorch+llmcompressor/ubi9-python-3.12/Dockerfile.konflux.cuda b/runtimes/pytorch+llmcompressor/ubi9-python-3.12/Dockerfile.konflux.cuda index e24b3d2aca..a55c340fb1 100644 --- a/runtimes/pytorch+llmcompressor/ubi9-python-3.12/Dockerfile.konflux.cuda +++ b/runtimes/pytorch+llmcompressor/ubi9-python-3.12/Dockerfile.konflux.cuda @@ -5,9 +5,6 @@ ARG TARGETARCH ######################### ARG BASE_IMAGE -# External image alias for UBI repository configuration -FROM registry.access.redhat.com/ubi9/ubi AS ubi-repos - #################### # cuda-base # #################### @@ -18,11 +15,6 @@ WORKDIR /opt/app-root/bin # OS Packages needs to be installed as root USER 0 -# Inject the official UBI 9 repository configuration into the AIPCC base image. -# The Quay-based AIPCC image is "repo-less" by default (https://gitlab.com/redhat/rhel-ai/core/base-images/app#repositories), so dnf cannot upgrade or install packages. -# By copying ubi.repo from the public UBI 9 image, we enable package management for upgrades and installations. -COPY --from=ubi-repos /etc/yum.repos.d/ubi.repo /etc/yum.repos.d/ubi.repo - ### BEGIN upgrade first to avoid fixable vulnerabilities # If we have a Red Hat subscription prepared, refresh it RUN /bin/bash <<'EOF' diff --git a/runtimes/pytorch/ubi9-python-3.12/Dockerfile.cuda b/runtimes/pytorch/ubi9-python-3.12/Dockerfile.cuda index ae58a2e6ea..9b47f7de0d 100644 --- a/runtimes/pytorch/ubi9-python-3.12/Dockerfile.cuda +++ b/runtimes/pytorch/ubi9-python-3.12/Dockerfile.cuda @@ -5,9 +5,6 @@ ARG TARGETARCH ######################### ARG BASE_IMAGE -# External image alias for UBI repository configuration -FROM registry.access.redhat.com/ubi9/ubi AS ubi-repos - #################### # cuda-base # #################### @@ -18,11 +15,6 @@ WORKDIR /opt/app-root/bin # OS Packages needs to be installed as root USER 0 -# Inject the official UBI 9 repository configuration into the AIPCC base image. -# The Quay-based AIPCC image is "repo-less" by default (https://gitlab.com/redhat/rhel-ai/core/base-images/app#repositories), so dnf cannot upgrade or install packages. -# By copying ubi.repo from the public UBI 9 image, we enable package management for upgrades and installations. -COPY --from=ubi-repos /etc/yum.repos.d/ubi.repo /etc/yum.repos.d/ubi.repo - ### BEGIN upgrade first to avoid fixable vulnerabilities # If we have a Red Hat subscription prepared, refresh it RUN /bin/bash <<'EOF' diff --git a/runtimes/pytorch/ubi9-python-3.12/Dockerfile.konflux.cuda b/runtimes/pytorch/ubi9-python-3.12/Dockerfile.konflux.cuda index b52de937b0..6a9e224129 100644 --- a/runtimes/pytorch/ubi9-python-3.12/Dockerfile.konflux.cuda +++ b/runtimes/pytorch/ubi9-python-3.12/Dockerfile.konflux.cuda @@ -5,9 +5,6 @@ ARG TARGETARCH ######################### ARG BASE_IMAGE -# External image alias for UBI repository configuration -FROM registry.access.redhat.com/ubi9/ubi AS ubi-repos - #################### # cuda-base # #################### @@ -18,11 +15,6 @@ WORKDIR /opt/app-root/bin # OS Packages needs to be installed as root USER 0 -# Inject the official UBI 9 repository configuration into the AIPCC base image. -# The Quay-based AIPCC image is "repo-less" by default (https://gitlab.com/redhat/rhel-ai/core/base-images/app#repositories), so dnf cannot upgrade or install packages. -# By copying ubi.repo from the public UBI 9 image, we enable package management for upgrades and installations. -COPY --from=ubi-repos /etc/yum.repos.d/ubi.repo /etc/yum.repos.d/ubi.repo - ### BEGIN upgrade first to avoid fixable vulnerabilities # If we have a Red Hat subscription prepared, refresh it RUN /bin/bash <<'EOF' diff --git a/runtimes/rocm-pytorch/ubi9-python-3.12/Dockerfile.konflux.rocm b/runtimes/rocm-pytorch/ubi9-python-3.12/Dockerfile.konflux.rocm index dabd530087..1eaba78393 100644 --- a/runtimes/rocm-pytorch/ubi9-python-3.12/Dockerfile.konflux.rocm +++ b/runtimes/rocm-pytorch/ubi9-python-3.12/Dockerfile.konflux.rocm @@ -3,9 +3,6 @@ ######################### ARG BASE_IMAGE -# External image alias for UBI repository configuration -FROM registry.access.redhat.com/ubi9/ubi AS ubi-repos - #################### # rocm-base # #################### @@ -16,11 +13,6 @@ WORKDIR /opt/app-root/bin # OS Packages needs to be installed as root USER 0 -# Inject the official UBI 9 repository configuration into the AIPCC base image. -# The Quay-based AIPCC image is "repo-less" by default (https://gitlab.com/redhat/rhel-ai/core/base-images/app#repositories), so dnf cannot upgrade or install packages. -# By copying ubi.repo from the public UBI 9 image, we enable package management for upgrades and installations. -COPY --from=ubi-repos /etc/yum.repos.d/ubi.repo /etc/yum.repos.d/ubi.repo - ### BEGIN upgrade first to avoid fixable vulnerabilities # If we have a Red Hat subscription prepared, refresh it RUN /bin/bash <<'EOF' diff --git a/runtimes/rocm-pytorch/ubi9-python-3.12/Dockerfile.rocm b/runtimes/rocm-pytorch/ubi9-python-3.12/Dockerfile.rocm index 89f9094a3c..e32cfd96f7 100644 --- a/runtimes/rocm-pytorch/ubi9-python-3.12/Dockerfile.rocm +++ b/runtimes/rocm-pytorch/ubi9-python-3.12/Dockerfile.rocm @@ -3,9 +3,6 @@ ######################### ARG BASE_IMAGE -# External image alias for UBI repository configuration -FROM registry.access.redhat.com/ubi9/ubi AS ubi-repos - #################### # rocm-base # #################### @@ -16,11 +13,6 @@ WORKDIR /opt/app-root/bin # OS Packages needs to be installed as root USER 0 -# Inject the official UBI 9 repository configuration into the AIPCC base image. -# The Quay-based AIPCC image is "repo-less" by default (https://gitlab.com/redhat/rhel-ai/core/base-images/app#repositories), so dnf cannot upgrade or install packages. -# By copying ubi.repo from the public UBI 9 image, we enable package management for upgrades and installations. -COPY --from=ubi-repos /etc/yum.repos.d/ubi.repo /etc/yum.repos.d/ubi.repo - ### BEGIN upgrade first to avoid fixable vulnerabilities # If we have a Red Hat subscription prepared, refresh it RUN /bin/bash <<'EOF' diff --git a/runtimes/rocm-tensorflow/ubi9-python-3.12/Dockerfile.konflux.rocm b/runtimes/rocm-tensorflow/ubi9-python-3.12/Dockerfile.konflux.rocm index be23c0d964..dfcfe9e992 100644 --- a/runtimes/rocm-tensorflow/ubi9-python-3.12/Dockerfile.konflux.rocm +++ b/runtimes/rocm-tensorflow/ubi9-python-3.12/Dockerfile.konflux.rocm @@ -3,9 +3,6 @@ ######################### ARG BASE_IMAGE -# External image alias for UBI repository configuration -FROM registry.access.redhat.com/ubi9/ubi AS ubi-repos - #################### # rocm-base # #################### @@ -16,11 +13,6 @@ WORKDIR /opt/app-root/bin # OS Packages needs to be installed as root USER 0 -# Inject the official UBI 9 repository configuration into the AIPCC base image. -# The Quay-based AIPCC image is "repo-less" by default (https://gitlab.com/redhat/rhel-ai/core/base-images/app#repositories), so dnf cannot upgrade or install packages. -# By copying ubi.repo from the public UBI 9 image, we enable package management for upgrades and installations. -COPY --from=ubi-repos /etc/yum.repos.d/ubi.repo /etc/yum.repos.d/ubi.repo - ### BEGIN upgrade first to avoid fixable vulnerabilities # If we have a Red Hat subscription prepared, refresh it RUN /bin/bash <<'EOF' diff --git a/runtimes/rocm-tensorflow/ubi9-python-3.12/Dockerfile.rocm b/runtimes/rocm-tensorflow/ubi9-python-3.12/Dockerfile.rocm index c61687f6e3..b94bc68cf5 100644 --- a/runtimes/rocm-tensorflow/ubi9-python-3.12/Dockerfile.rocm +++ b/runtimes/rocm-tensorflow/ubi9-python-3.12/Dockerfile.rocm @@ -3,9 +3,6 @@ ######################### ARG BASE_IMAGE -# External image alias for UBI repository configuration -FROM registry.access.redhat.com/ubi9/ubi AS ubi-repos - #################### # rocm-base # #################### @@ -16,11 +13,6 @@ WORKDIR /opt/app-root/bin # OS Packages needs to be installed as root USER 0 -# Inject the official UBI 9 repository configuration into the AIPCC base image. -# The Quay-based AIPCC image is "repo-less" by default (https://gitlab.com/redhat/rhel-ai/core/base-images/app#repositories), so dnf cannot upgrade or install packages. -# By copying ubi.repo from the public UBI 9 image, we enable package management for upgrades and installations. -COPY --from=ubi-repos /etc/yum.repos.d/ubi.repo /etc/yum.repos.d/ubi.repo - ### BEGIN upgrade first to avoid fixable vulnerabilities # If we have a Red Hat subscription prepared, refresh it RUN /bin/bash <<'EOF' diff --git a/runtimes/tensorflow/ubi9-python-3.12/Dockerfile.cuda b/runtimes/tensorflow/ubi9-python-3.12/Dockerfile.cuda index 4e483e21dc..ce8dab2d15 100644 --- a/runtimes/tensorflow/ubi9-python-3.12/Dockerfile.cuda +++ b/runtimes/tensorflow/ubi9-python-3.12/Dockerfile.cuda @@ -5,9 +5,6 @@ ARG TARGETARCH ######################### ARG BASE_IMAGE -# External image alias for UBI repository configuration -FROM registry.access.redhat.com/ubi9/ubi AS ubi-repos - #################### # cuda-base # #################### @@ -20,11 +17,6 @@ WORKDIR /opt/app-root/bin # OS Packages needs to be installed as root USER 0 -# Inject the official UBI 9 repository configuration into the AIPCC base image. -# The Quay-based AIPCC image is "repo-less" by default (https://gitlab.com/redhat/rhel-ai/core/base-images/app#repositories), so dnf cannot upgrade or install packages. -# By copying ubi.repo from the public UBI 9 image, we enable package management for upgrades and installations. -COPY --from=ubi-repos /etc/yum.repos.d/ubi.repo /etc/yum.repos.d/ubi.repo - ### BEGIN upgrade first to avoid fixable vulnerabilities # If we have a Red Hat subscription prepared, refresh it RUN /bin/bash <<'EOF' diff --git a/runtimes/tensorflow/ubi9-python-3.12/Dockerfile.konflux.cuda b/runtimes/tensorflow/ubi9-python-3.12/Dockerfile.konflux.cuda index 0b47bcde25..95ea25d9d7 100644 --- a/runtimes/tensorflow/ubi9-python-3.12/Dockerfile.konflux.cuda +++ b/runtimes/tensorflow/ubi9-python-3.12/Dockerfile.konflux.cuda @@ -5,9 +5,6 @@ ARG TARGETARCH ######################### ARG BASE_IMAGE -# External image alias for UBI repository configuration -FROM registry.access.redhat.com/ubi9/ubi AS ubi-repos - #################### # cuda-base # #################### @@ -20,11 +17,6 @@ WORKDIR /opt/app-root/bin # OS Packages needs to be installed as root USER 0 -# Inject the official UBI 9 repository configuration into the AIPCC base image. -# The Quay-based AIPCC image is "repo-less" by default (https://gitlab.com/redhat/rhel-ai/core/base-images/app#repositories), so dnf cannot upgrade or install packages. -# By copying ubi.repo from the public UBI 9 image, we enable package management for upgrades and installations. -COPY --from=ubi-repos /etc/yum.repos.d/ubi.repo /etc/yum.repos.d/ubi.repo - ### BEGIN upgrade first to avoid fixable vulnerabilities # If we have a Red Hat subscription prepared, refresh it RUN /bin/bash <<'EOF' From 1ab2215a6b71aee07eeb6b7726da77aa7cb8fb10 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Jiri=20Dan=C4=9Bk?= Date: Thu, 13 Nov 2025 08:02:19 +0100 Subject: [PATCH 3/3] AIPCC-7097, AIPCC-7098: undo cpu base image update, because somehow IBM arches are not covered https://redhat-internal.slack.com/archives/C08GRQ4TRTJ/p1763017110987709?thread_ts=1762999724.802359&cid=C08GRQ4TRTJ * the exception is RStudio RHEL9 where we don't have IBM Power/Z images so there we can update --- codeserver/ubi9-python-3.12/Dockerfile.cpu | 13 +++++++++++++ codeserver/ubi9-python-3.12/Dockerfile.konflux.cpu | 13 +++++++++++++ codeserver/ubi9-python-3.12/build-args/cpu.conf | 2 +- jupyter/datascience/ubi9-python-3.12/Dockerfile.cpu | 8 ++++++++ .../ubi9-python-3.12/Dockerfile.konflux.cpu | 8 ++++++++ .../ubi9-python-3.12/build-args/cpu.conf | 2 +- jupyter/minimal/ubi9-python-3.12/Dockerfile.cpu | 8 ++++++++ .../minimal/ubi9-python-3.12/Dockerfile.konflux.cpu | 8 ++++++++ .../minimal/ubi9-python-3.12/build-args/cpu.conf | 2 +- jupyter/trustyai/ubi9-python-3.12/Dockerfile.cpu | 8 ++++++++ .../ubi9-python-3.12/Dockerfile.konflux.cpu | 9 +++++++++ .../trustyai/ubi9-python-3.12/build-args/cpu.conf | 2 +- .../datascience/ubi9-python-3.12/Dockerfile.cpu | 8 ++++++++ .../ubi9-python-3.12/Dockerfile.konflux.cpu | 8 ++++++++ .../ubi9-python-3.12/build-args/cpu.conf | 2 +- runtimes/minimal/ubi9-python-3.12/Dockerfile.cpu | 8 ++++++++ .../minimal/ubi9-python-3.12/Dockerfile.konflux.cpu | 8 ++++++++ .../minimal/ubi9-python-3.12/build-args/cpu.conf | 2 +- 18 files changed, 113 insertions(+), 6 deletions(-) diff --git a/codeserver/ubi9-python-3.12/Dockerfile.cpu b/codeserver/ubi9-python-3.12/Dockerfile.cpu index f64e5d194a..49148fe508 100644 --- a/codeserver/ubi9-python-3.12/Dockerfile.cpu +++ b/codeserver/ubi9-python-3.12/Dockerfile.cpu @@ -3,6 +3,9 @@ ######################### ARG BASE_IMAGE +# External image alias for UBI repository configuration +FROM registry.access.redhat.com/ubi9/ubi AS ubi-repos + #################### # rpm-base # #################### @@ -15,6 +18,11 @@ WORKDIR /root ENV HOME=/root +# Inject the official UBI 9 repository configuration into the AIPCC base image. +# The Quay-based AIPCC image is "repo-less" by default (https://gitlab.com/redhat/rhel-ai/core/base-images/app#repositories), so dnf cannot upgrade or install packages. +# By copying ubi.repo from the public UBI 9 image, we enable package management for upgrades and installations. +COPY --from=ubi-repos /etc/yum.repos.d/ubi.repo /etc/yum.repos.d/ubi.repo + ARG CODESERVER_SOURCE_CODE=codeserver/ubi9-python-3.12 ARG NODE_VERSION=22.18.0 @@ -70,6 +78,11 @@ WORKDIR /opt/app-root/bin # OS Packages needs to be installed as root USER 0 +# Inject the official UBI 9 repository configuration into the AIPCC base image. +# The Quay-based AIPCC image is "repo-less" by default (https://gitlab.com/redhat/rhel-ai/core/base-images/app#repositories), so dnf cannot upgrade or install packages. +# By copying ubi.repo from the public UBI 9 image, we enable package management for upgrades and installations. +COPY --from=ubi-repos /etc/yum.repos.d/ubi.repo /etc/yum.repos.d/ubi.repo + ### BEGIN upgrade first to avoid fixable vulnerabilities # If we have a Red Hat subscription prepared, refresh it RUN /bin/bash <<'EOF' diff --git a/codeserver/ubi9-python-3.12/Dockerfile.konflux.cpu b/codeserver/ubi9-python-3.12/Dockerfile.konflux.cpu index 3811a077d6..0dcecba34a 100644 --- a/codeserver/ubi9-python-3.12/Dockerfile.konflux.cpu +++ b/codeserver/ubi9-python-3.12/Dockerfile.konflux.cpu @@ -3,6 +3,9 @@ ######################### ARG BASE_IMAGE +# External image alias for UBI repository configuration +FROM registry.access.redhat.com/ubi9/ubi AS ubi-repos + #################### # rpm-base # #################### @@ -15,6 +18,11 @@ WORKDIR /root ENV HOME=/root +# Inject the official UBI 9 repository configuration into the AIPCC base image. +# The Quay-based AIPCC image is "repo-less" by default (https://gitlab.com/redhat/rhel-ai/core/base-images/app#repositories), so dnf cannot upgrade or install packages. +# By copying ubi.repo from the public UBI 9 image, we enable package management for upgrades and installations. +COPY --from=ubi-repos /etc/yum.repos.d/ubi.repo /etc/yum.repos.d/ubi.repo + ARG CODESERVER_SOURCE_CODE=codeserver/ubi9-python-3.12 ARG NODE_VERSION=22.18.0 @@ -70,6 +78,11 @@ WORKDIR /opt/app-root/bin # OS Packages needs to be installed as root USER 0 +# Inject the official UBI 9 repository configuration into the AIPCC base image. +# The Quay-based AIPCC image is "repo-less" by default (https://gitlab.com/redhat/rhel-ai/core/base-images/app#repositories), so dnf cannot upgrade or install packages. +# By copying ubi.repo from the public UBI 9 image, we enable package management for upgrades and installations. +COPY --from=ubi-repos /etc/yum.repos.d/ubi.repo /etc/yum.repos.d/ubi.repo + ### BEGIN upgrade first to avoid fixable vulnerabilities # If we have a Red Hat subscription prepared, refresh it RUN /bin/bash <<'EOF' diff --git a/codeserver/ubi9-python-3.12/build-args/cpu.conf b/codeserver/ubi9-python-3.12/build-args/cpu.conf index f4c67c24a2..8fe9d4edc9 100644 --- a/codeserver/ubi9-python-3.12/build-args/cpu.conf +++ b/codeserver/ubi9-python-3.12/build-args/cpu.conf @@ -1,3 +1,3 @@ # Base Image : RHEL 9.6 with Python 3.12 # Architectures: linux/arm64, linux/ppc64le, linux/x86_64, linux/s360x -BASE_IMAGE=quay.io/aipcc/base-images/cpu:3.1-1763000001 +BASE_IMAGE=quay.io/aipcc/base-images/cpu:3.0-1761580156 diff --git a/jupyter/datascience/ubi9-python-3.12/Dockerfile.cpu b/jupyter/datascience/ubi9-python-3.12/Dockerfile.cpu index e519ebcc89..d9a4f0c3a2 100644 --- a/jupyter/datascience/ubi9-python-3.12/Dockerfile.cpu +++ b/jupyter/datascience/ubi9-python-3.12/Dockerfile.cpu @@ -3,6 +3,9 @@ ######################### ARG BASE_IMAGE +# External image alias for UBI repository configuration +FROM registry.access.redhat.com/ubi9/ubi AS ubi-repos + ###################################################### # mongocli-builder (build stage only, not published) # ###################################################### @@ -44,6 +47,11 @@ WORKDIR /opt/app-root/bin USER root ARG TARGETARCH +# Inject the official UBI 9 repository configuration into the AIPCC base image. +# The Quay-based AIPCC image is "repo-less" by default (https://gitlab.com/redhat/rhel-ai/core/base-images/app#repositories), so dnf cannot upgrade or install packages. +# By copying ubi.repo from the public UBI 9 image, we enable package management for upgrades and installations. +COPY --from=ubi-repos /etc/yum.repos.d/ubi.repo /etc/yum.repos.d/ubi.repo + ### BEGIN upgrade first to avoid fixable vulnerabilities # If we have a Red Hat subscription prepared, refresh it RUN /bin/bash <<'EOF' diff --git a/jupyter/datascience/ubi9-python-3.12/Dockerfile.konflux.cpu b/jupyter/datascience/ubi9-python-3.12/Dockerfile.konflux.cpu index 2d674fcc12..8882619e46 100644 --- a/jupyter/datascience/ubi9-python-3.12/Dockerfile.konflux.cpu +++ b/jupyter/datascience/ubi9-python-3.12/Dockerfile.konflux.cpu @@ -3,6 +3,9 @@ ######################### ARG BASE_IMAGE +# External image alias for UBI repository configuration +FROM registry.access.redhat.com/ubi9/ubi AS ubi-repos + ###################################################### # mongocli-builder (build stage only, not published) # ###################################################### @@ -44,6 +47,11 @@ WORKDIR /opt/app-root/bin USER root ARG TARGETARCH +# Inject the official UBI 9 repository configuration into the AIPCC base image. +# The Quay-based AIPCC image is "repo-less" by default (https://gitlab.com/redhat/rhel-ai/core/base-images/app#repositories), so dnf cannot upgrade or install packages. +# By copying ubi.repo from the public UBI 9 image, we enable package management for upgrades and installations. +COPY --from=ubi-repos /etc/yum.repos.d/ubi.repo /etc/yum.repos.d/ubi.repo + ### BEGIN upgrade first to avoid fixable vulnerabilities # If we have a Red Hat subscription prepared, refresh it RUN /bin/bash <<'EOF' diff --git a/jupyter/datascience/ubi9-python-3.12/build-args/cpu.conf b/jupyter/datascience/ubi9-python-3.12/build-args/cpu.conf index f4c67c24a2..8fe9d4edc9 100644 --- a/jupyter/datascience/ubi9-python-3.12/build-args/cpu.conf +++ b/jupyter/datascience/ubi9-python-3.12/build-args/cpu.conf @@ -1,3 +1,3 @@ # Base Image : RHEL 9.6 with Python 3.12 # Architectures: linux/arm64, linux/ppc64le, linux/x86_64, linux/s360x -BASE_IMAGE=quay.io/aipcc/base-images/cpu:3.1-1763000001 +BASE_IMAGE=quay.io/aipcc/base-images/cpu:3.0-1761580156 diff --git a/jupyter/minimal/ubi9-python-3.12/Dockerfile.cpu b/jupyter/minimal/ubi9-python-3.12/Dockerfile.cpu index f4774af5eb..57eb634d62 100644 --- a/jupyter/minimal/ubi9-python-3.12/Dockerfile.cpu +++ b/jupyter/minimal/ubi9-python-3.12/Dockerfile.cpu @@ -3,6 +3,9 @@ ######################### ARG BASE_IMAGE +# External image alias for UBI repository configuration +FROM registry.access.redhat.com/ubi9/ubi AS ubi-repos + ############################ # Stage 1: PDF Tool Build # ############################ @@ -32,6 +35,11 @@ WORKDIR /opt/app-root/bin # OS Packages needs to be installed as root USER 0 +# Inject the official UBI 9 repository configuration into the AIPCC base image. +# The Quay-based AIPCC image is "repo-less" by default (https://gitlab.com/redhat/rhel-ai/core/base-images/app#repositories), so dnf cannot upgrade or install packages. +# By copying ubi.repo from the public UBI 9 image, we enable package management for upgrades and installations. +COPY --from=ubi-repos /etc/yum.repos.d/ubi.repo /etc/yum.repos.d/ubi.repo + ### BEGIN upgrade first to avoid fixable vulnerabilities # If we have a Red Hat subscription prepared, refresh it RUN /bin/bash <<'EOF' diff --git a/jupyter/minimal/ubi9-python-3.12/Dockerfile.konflux.cpu b/jupyter/minimal/ubi9-python-3.12/Dockerfile.konflux.cpu index 9ac418661f..b6837cf605 100644 --- a/jupyter/minimal/ubi9-python-3.12/Dockerfile.konflux.cpu +++ b/jupyter/minimal/ubi9-python-3.12/Dockerfile.konflux.cpu @@ -3,6 +3,9 @@ ######################### ARG BASE_IMAGE +# External image alias for UBI repository configuration +FROM registry.access.redhat.com/ubi9/ubi AS ubi-repos + ############################ # Stage 1: PDF Tool Build # ############################ @@ -32,6 +35,11 @@ WORKDIR /opt/app-root/bin # OS Packages needs to be installed as root USER 0 +# Inject the official UBI 9 repository configuration into the AIPCC base image. +# The Quay-based AIPCC image is "repo-less" by default (https://gitlab.com/redhat/rhel-ai/core/base-images/app#repositories), so dnf cannot upgrade or install packages. +# By copying ubi.repo from the public UBI 9 image, we enable package management for upgrades and installations. +COPY --from=ubi-repos /etc/yum.repos.d/ubi.repo /etc/yum.repos.d/ubi.repo + ### BEGIN upgrade first to avoid fixable vulnerabilities # If we have a Red Hat subscription prepared, refresh it RUN /bin/bash <<'EOF' diff --git a/jupyter/minimal/ubi9-python-3.12/build-args/cpu.conf b/jupyter/minimal/ubi9-python-3.12/build-args/cpu.conf index f4c67c24a2..8fe9d4edc9 100644 --- a/jupyter/minimal/ubi9-python-3.12/build-args/cpu.conf +++ b/jupyter/minimal/ubi9-python-3.12/build-args/cpu.conf @@ -1,3 +1,3 @@ # Base Image : RHEL 9.6 with Python 3.12 # Architectures: linux/arm64, linux/ppc64le, linux/x86_64, linux/s360x -BASE_IMAGE=quay.io/aipcc/base-images/cpu:3.1-1763000001 +BASE_IMAGE=quay.io/aipcc/base-images/cpu:3.0-1761580156 diff --git a/jupyter/trustyai/ubi9-python-3.12/Dockerfile.cpu b/jupyter/trustyai/ubi9-python-3.12/Dockerfile.cpu index 384508e587..82e6663e58 100644 --- a/jupyter/trustyai/ubi9-python-3.12/Dockerfile.cpu +++ b/jupyter/trustyai/ubi9-python-3.12/Dockerfile.cpu @@ -3,6 +3,9 @@ ######################### ARG BASE_IMAGE +# External image alias for UBI repository configuration +FROM registry.access.redhat.com/ubi9/ubi AS ubi-repos + ###################################################### # mongocli-builder (build stage only, not published) # ###################################################### @@ -54,6 +57,11 @@ WORKDIR /opt/app-root/bin # OS Packages needs to be installed as root USER root +# Inject the official UBI 9 repository configuration into the AIPCC base image. +# The Quay-based AIPCC image is "repo-less" by default (https://gitlab.com/redhat/rhel-ai/core/base-images/app#repositories), so dnf cannot upgrade or install packages. +# By copying ubi.repo from the public UBI 9 image, we enable package management for upgrades and installations. +COPY --from=ubi-repos /etc/yum.repos.d/ubi.repo /etc/yum.repos.d/ubi.repo + ### BEGIN upgrade first to avoid fixable vulnerabilities # If we have a Red Hat subscription prepared, refresh it RUN /bin/bash <<'EOF' diff --git a/jupyter/trustyai/ubi9-python-3.12/Dockerfile.konflux.cpu b/jupyter/trustyai/ubi9-python-3.12/Dockerfile.konflux.cpu index c15ab8ac0b..5cdd1664f6 100644 --- a/jupyter/trustyai/ubi9-python-3.12/Dockerfile.konflux.cpu +++ b/jupyter/trustyai/ubi9-python-3.12/Dockerfile.konflux.cpu @@ -3,6 +3,9 @@ ######################### ARG BASE_IMAGE +# External image alias for UBI repository configuration +FROM registry.access.redhat.com/ubi9/ubi AS ubi-repos + ###################################################### # mongocli-builder (build stage only, not published) # ###################################################### @@ -54,6 +57,11 @@ WORKDIR /opt/app-root/bin # OS Packages needs to be installed as root USER root +# Inject the official UBI 9 repository configuration into the AIPCC base image. +# The Quay-based AIPCC image is "repo-less" by default (https://gitlab.com/redhat/rhel-ai/core/base-images/app#repositories), so dnf cannot upgrade or install packages. +# By copying ubi.repo from the public UBI 9 image, we enable package management for upgrades and installations. +COPY --from=ubi-repos /etc/yum.repos.d/ubi.repo /etc/yum.repos.d/ubi.repo + ### BEGIN upgrade first to avoid fixable vulnerabilities # If we have a Red Hat subscription prepared, refresh it RUN /bin/bash <<'EOF' @@ -127,6 +135,7 @@ WORKDIR /opt/app-root/src ENTRYPOINT ["start-notebook.sh"] + ######################## # jupyter-datascience # ######################## diff --git a/jupyter/trustyai/ubi9-python-3.12/build-args/cpu.conf b/jupyter/trustyai/ubi9-python-3.12/build-args/cpu.conf index f4c67c24a2..8fe9d4edc9 100644 --- a/jupyter/trustyai/ubi9-python-3.12/build-args/cpu.conf +++ b/jupyter/trustyai/ubi9-python-3.12/build-args/cpu.conf @@ -1,3 +1,3 @@ # Base Image : RHEL 9.6 with Python 3.12 # Architectures: linux/arm64, linux/ppc64le, linux/x86_64, linux/s360x -BASE_IMAGE=quay.io/aipcc/base-images/cpu:3.1-1763000001 +BASE_IMAGE=quay.io/aipcc/base-images/cpu:3.0-1761580156 diff --git a/runtimes/datascience/ubi9-python-3.12/Dockerfile.cpu b/runtimes/datascience/ubi9-python-3.12/Dockerfile.cpu index 94fd2ad841..67b6e1b671 100644 --- a/runtimes/datascience/ubi9-python-3.12/Dockerfile.cpu +++ b/runtimes/datascience/ubi9-python-3.12/Dockerfile.cpu @@ -3,6 +3,9 @@ ######################### ARG BASE_IMAGE +# External image alias for UBI repository configuration +FROM registry.access.redhat.com/ubi9/ubi AS ubi-repos + #################### # cpu-base # #################### @@ -15,6 +18,11 @@ WORKDIR /opt/app-root/bin # OS Packages needs to be installed as root USER 0 +# Inject the official UBI 9 repository configuration into the AIPCC base image. +# The Quay-based AIPCC image is "repo-less" by default (https://gitlab.com/redhat/rhel-ai/core/base-images/app#repositories), so dnf cannot upgrade or install packages. +# By copying ubi.repo from the public UBI 9 image, we enable package management for upgrades and installations. +COPY --from=ubi-repos /etc/yum.repos.d/ubi.repo /etc/yum.repos.d/ubi.repo + ARG TARGETARCH ### BEGIN upgrade first to avoid fixable vulnerabilities diff --git a/runtimes/datascience/ubi9-python-3.12/Dockerfile.konflux.cpu b/runtimes/datascience/ubi9-python-3.12/Dockerfile.konflux.cpu index 0ad258442c..30a1f5569c 100644 --- a/runtimes/datascience/ubi9-python-3.12/Dockerfile.konflux.cpu +++ b/runtimes/datascience/ubi9-python-3.12/Dockerfile.konflux.cpu @@ -3,6 +3,9 @@ ######################### ARG BASE_IMAGE +# External image alias for UBI repository configuration +FROM registry.access.redhat.com/ubi9/ubi AS ubi-repos + #################### # cpu-base # #################### @@ -15,6 +18,11 @@ WORKDIR /opt/app-root/bin # OS Packages needs to be installed as root USER 0 +# Inject the official UBI 9 repository configuration into the AIPCC base image. +# The Quay-based AIPCC image is "repo-less" by default (https://gitlab.com/redhat/rhel-ai/core/base-images/app#repositories), so dnf cannot upgrade or install packages. +# By copying ubi.repo from the public UBI 9 image, we enable package management for upgrades and installations. +COPY --from=ubi-repos /etc/yum.repos.d/ubi.repo /etc/yum.repos.d/ubi.repo + ARG TARGETARCH ### BEGIN upgrade first to avoid fixable vulnerabilities diff --git a/runtimes/datascience/ubi9-python-3.12/build-args/cpu.conf b/runtimes/datascience/ubi9-python-3.12/build-args/cpu.conf index f4c67c24a2..8fe9d4edc9 100644 --- a/runtimes/datascience/ubi9-python-3.12/build-args/cpu.conf +++ b/runtimes/datascience/ubi9-python-3.12/build-args/cpu.conf @@ -1,3 +1,3 @@ # Base Image : RHEL 9.6 with Python 3.12 # Architectures: linux/arm64, linux/ppc64le, linux/x86_64, linux/s360x -BASE_IMAGE=quay.io/aipcc/base-images/cpu:3.1-1763000001 +BASE_IMAGE=quay.io/aipcc/base-images/cpu:3.0-1761580156 diff --git a/runtimes/minimal/ubi9-python-3.12/Dockerfile.cpu b/runtimes/minimal/ubi9-python-3.12/Dockerfile.cpu index 22c68be400..cc7d65b0f5 100644 --- a/runtimes/minimal/ubi9-python-3.12/Dockerfile.cpu +++ b/runtimes/minimal/ubi9-python-3.12/Dockerfile.cpu @@ -3,6 +3,9 @@ ######################### ARG BASE_IMAGE +# External image alias for UBI repository configuration +FROM registry.access.redhat.com/ubi9/ubi AS ubi-repos + #################### # cpu-base # #################### @@ -13,6 +16,11 @@ WORKDIR /opt/app-root/bin # OS Packages needs to be installed as root USER 0 +# Inject the official UBI 9 repository configuration into the AIPCC base image. +# The Quay-based AIPCC image is "repo-less" by default (https://gitlab.com/redhat/rhel-ai/core/base-images/app#repositories), so dnf cannot upgrade or install packages. +# By copying ubi.repo from the public UBI 9 image, we enable package management for upgrades and installations. +COPY --from=ubi-repos /etc/yum.repos.d/ubi.repo /etc/yum.repos.d/ubi.repo + ### BEGIN upgrade first to avoid fixable vulnerabilities # If we have a Red Hat subscription prepared, refresh it RUN /bin/bash <<'EOF' diff --git a/runtimes/minimal/ubi9-python-3.12/Dockerfile.konflux.cpu b/runtimes/minimal/ubi9-python-3.12/Dockerfile.konflux.cpu index 6e96264a19..63db2c7467 100644 --- a/runtimes/minimal/ubi9-python-3.12/Dockerfile.konflux.cpu +++ b/runtimes/minimal/ubi9-python-3.12/Dockerfile.konflux.cpu @@ -3,6 +3,9 @@ ######################### ARG BASE_IMAGE +# External image alias for UBI repository configuration +FROM registry.access.redhat.com/ubi9/ubi AS ubi-repos + #################### # cpu-base # #################### @@ -13,6 +16,11 @@ WORKDIR /opt/app-root/bin # OS Packages needs to be installed as root USER 0 +# Inject the official UBI 9 repository configuration into the AIPCC base image. +# The Quay-based AIPCC image is "repo-less" by default (https://gitlab.com/redhat/rhel-ai/core/base-images/app#repositories), so dnf cannot upgrade or install packages. +# By copying ubi.repo from the public UBI 9 image, we enable package management for upgrades and installations. +COPY --from=ubi-repos /etc/yum.repos.d/ubi.repo /etc/yum.repos.d/ubi.repo + ### BEGIN upgrade first to avoid fixable vulnerabilities # If we have a Red Hat subscription prepared, refresh it RUN /bin/bash <<'EOF' diff --git a/runtimes/minimal/ubi9-python-3.12/build-args/cpu.conf b/runtimes/minimal/ubi9-python-3.12/build-args/cpu.conf index f4c67c24a2..8fe9d4edc9 100644 --- a/runtimes/minimal/ubi9-python-3.12/build-args/cpu.conf +++ b/runtimes/minimal/ubi9-python-3.12/build-args/cpu.conf @@ -1,3 +1,3 @@ # Base Image : RHEL 9.6 with Python 3.12 # Architectures: linux/arm64, linux/ppc64le, linux/x86_64, linux/s360x -BASE_IMAGE=quay.io/aipcc/base-images/cpu:3.1-1763000001 +BASE_IMAGE=quay.io/aipcc/base-images/cpu:3.0-1761580156