Skip to content
Closed
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
3 changes: 2 additions & 1 deletion .github/workflows/build-notebooks-pr-aipcc.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -89,5 +89,6 @@ jobs:
python: "${{ matrix.python }}"
github: "${{ toJSON(github) }}"
platform: "${{ matrix.platform }}"
subscription: "${{ matrix.subscription }}"
# rhds/notebooks builds from AIPCC base images that are RHEL-based
subscription: "true"
secrets: inherit
3 changes: 2 additions & 1 deletion .github/workflows/build-notebooks-push.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -53,5 +53,6 @@ jobs:
python: "${{ matrix.python }}"
github: "${{ toJSON(github) }}"
platform: "${{ matrix.platform }}"
subscription: "${{ matrix.subscription }}"
# rhds/notebooks builds from AIPCC base images that are RHEL-based
subscription: "${{ matrix.subscription || (github.repository == 'red-hat-data-services/notebooks') }}"
secrets: inherit
2 changes: 2 additions & 0 deletions jupyter/minimal/ubi9-python-3.12/Dockerfile.cpu
Original file line number Diff line number Diff line change
@@ -1,3 +1,5 @@
#poke

#########################
# configuration args #
#########################
Expand Down
2 changes: 2 additions & 0 deletions jupyter/minimal/ubi9-python-3.12/Dockerfile.konflux.cpu
Original file line number Diff line number Diff line change
@@ -1,3 +1,5 @@
#poke

#########################
# configuration args #
#########################
Expand Down
9 changes: 9 additions & 0 deletions rstudio/rhel9-python-3.12/Dockerfile.cpu
Original file line number Diff line number Diff line change
Expand Up @@ -24,6 +24,13 @@ USER root
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

RUN /bin/bash <<'EOF'
set -Eeuxo pipefail
if command -v subscription-manager &> /dev/null; then
subscription-manager identity &>/dev/null && subscription-manager refresh || echo "Not registered, skipping refresh."
fi
EOF

# upgrade first to avoid fixable vulnerabilities begin
# Problem: The operation would result in removing the following protected packages: systemd
# (try to add '--allowerasing' to command line to replace conflicting packages or '--skip-broken' to skip uninstallable packages)
Expand Down Expand Up @@ -151,6 +158,8 @@ mkdir -p /usr/share/doc/R
# package installation
# install necessary texlive-framed package to make Knit R markup to PDF rendering possible
dnf install -y libgit2-devel.x86_64 libcurl-devel harfbuzz-devel.x86_64 fribidi-devel.x86_64 cmake "flexiblas-*" texlive-framed
# install npm to run cve_remediation script
dnf install -y npm
dnf clean all
rm -rf /var/cache/yum
(cd /tmp/utils && ./cve_remediation.sh)
Expand Down
9 changes: 9 additions & 0 deletions rstudio/rhel9-python-3.12/Dockerfile.cuda
Original file line number Diff line number Diff line change
Expand Up @@ -24,6 +24,13 @@ USER root
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

RUN /bin/bash <<'EOF'
set -Eeuxo pipefail
if command -v subscription-manager &> /dev/null; then
subscription-manager identity &>/dev/null && subscription-manager refresh || echo "Not registered, skipping refresh."
fi
EOF

# upgrade first to avoid fixable vulnerabilities begin
# Problem: The operation would result in removing the following protected packages: systemd
# (try to add '--allowerasing' to command line to replace conflicting packages or '--skip-broken' to skip uninstallable packages)
Expand Down Expand Up @@ -165,6 +172,8 @@ mkdir -p /usr/share/doc/R
# package installation
# install necessary texlive-framed package to make Knit R markup to PDF rendering possible
dnf install -y libgit2-devel.x86_64 libcurl-devel harfbuzz-devel.x86_64 fribidi-devel.x86_64 cmake "flexiblas-*" texlive-framed
# install npm to run cve_remediation script
dnf install -y npm
dnf clean all
rm -rf /var/cache/yum
(cd /tmp/utils && ./cve_remediation.sh)
Expand Down
7 changes: 4 additions & 3 deletions rstudio/rhel9-python-3.12/build-args/cpu.conf
Original file line number Diff line number Diff line change
@@ -1,3 +1,4 @@
# Base Image : CentOS Stream 9 with Python 3.12
# Architectures: linux/arm64, linux/x86_64
BASE_IMAGE=quay.io/opendatahub/odh-base-image-cpu-py312-c9s:latest
# 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
5 changes: 3 additions & 2 deletions rstudio/rhel9-python-3.12/build-args/cuda.conf
Original file line number Diff line number Diff line change
@@ -1,4 +1,5 @@
# Base Image : CentOS Stream 9 with Python 3.12
# Base Image : RHEL 9.6 with Python 3.12
# CUDA Version : 12.8.1
# Architectures: linux/arm64, linux/x86_64
BASE_IMAGE=quay.io/opendatahub/odh-base-image-cuda-py312-c9s:v12.8
# Source : https://quay.io/repository/aipcc/base-images/cuda
BASE_IMAGE=quay.io/aipcc/base-images/cuda:3.1-1762903318
Loading