Skip to content

Commit 525a95c

Browse files
committed
fixup, copy the key as well, we already do this for rstudio minimal rhel9
1 parent 0f6ca89 commit 525a95c

File tree

20 files changed

+21
-0
lines changed

20 files changed

+21
-0
lines changed

codeserver/ubi9-python-3.12/Dockerfile.cpu

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -22,6 +22,7 @@ ENV HOME=/root
2222
# 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.
2323
# By copying ubi.repo from the public UBI 9 image, we enable package management for upgrades and installations.
2424
COPY --from=ubi-repos /etc/yum.repos.d/ubi.repo /etc/yum.repos.d/ubi.repo
25+
COPY --from=ubi-repos /etc/pki/rpm-gpg/RPM-GPG-KEY-redhat-release /etc/pki/rpm-gpg/RPM-GPG-KEY-redhat-release
2526

2627
ARG CODESERVER_SOURCE_CODE=codeserver/ubi9-python-3.12
2728

@@ -82,6 +83,7 @@ USER 0
8283
# 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.
8384
# By copying ubi.repo from the public UBI 9 image, we enable package management for upgrades and installations.
8485
COPY --from=ubi-repos /etc/yum.repos.d/ubi.repo /etc/yum.repos.d/ubi.repo
86+
COPY --from=ubi-repos /etc/pki/rpm-gpg/RPM-GPG-KEY-redhat-release /etc/pki/rpm-gpg/RPM-GPG-KEY-redhat-release
8587

8688
### BEGIN upgrade first to avoid fixable vulnerabilities
8789
# If we have a Red Hat subscription prepared, refresh it

jupyter/datascience/ubi9-python-3.12/Dockerfile.cpu

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -51,6 +51,7 @@ ARG TARGETARCH
5151
# 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.
5252
# By copying ubi.repo from the public UBI 9 image, we enable package management for upgrades and installations.
5353
COPY --from=ubi-repos /etc/yum.repos.d/ubi.repo /etc/yum.repos.d/ubi.repo
54+
COPY --from=ubi-repos /etc/pki/rpm-gpg/RPM-GPG-KEY-redhat-release /etc/pki/rpm-gpg/RPM-GPG-KEY-redhat-release
5455

5556
### BEGIN upgrade first to avoid fixable vulnerabilities
5657
# If we have a Red Hat subscription prepared, refresh it

jupyter/minimal/ubi9-python-3.12/Dockerfile.cpu

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -20,6 +20,7 @@ USER 0
2020
# 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.
2121
# By copying ubi.repo from the public UBI 9 image, we enable package management for upgrades and installations.
2222
COPY --from=ubi-repos /etc/yum.repos.d/ubi.repo /etc/yum.repos.d/ubi.repo
23+
COPY --from=ubi-repos /etc/pki/rpm-gpg/RPM-GPG-KEY-redhat-release /etc/pki/rpm-gpg/RPM-GPG-KEY-redhat-release
2324

2425
### BEGIN upgrade first to avoid fixable vulnerabilities
2526
# If we have a Red Hat subscription prepared, refresh it

jupyter/minimal/ubi9-python-3.12/Dockerfile.cuda

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -22,6 +22,7 @@ USER 0
2222
# 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.
2323
# By copying ubi.repo from the public UBI 9 image, we enable package management for upgrades and installations.
2424
COPY --from=ubi-repos /etc/yum.repos.d/ubi.repo /etc/yum.repos.d/ubi.repo
25+
COPY --from=ubi-repos /etc/pki/rpm-gpg/RPM-GPG-KEY-redhat-release /etc/pki/rpm-gpg/RPM-GPG-KEY-redhat-release
2526

2627
### BEGIN upgrade first to avoid fixable vulnerabilities
2728
# If we have a Red Hat subscription prepared, refresh it

jupyter/minimal/ubi9-python-3.12/Dockerfile.rocm

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -20,6 +20,7 @@ USER 0
2020
# 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.
2121
# By copying ubi.repo from the public UBI 9 image, we enable package management for upgrades and installations.
2222
COPY --from=ubi-repos /etc/yum.repos.d/ubi.repo /etc/yum.repos.d/ubi.repo
23+
COPY --from=ubi-repos /etc/pki/rpm-gpg/RPM-GPG-KEY-redhat-release /etc/pki/rpm-gpg/RPM-GPG-KEY-redhat-release
2324

2425
### BEGIN upgrade first to avoid fixable vulnerabilities
2526
# If we have a Red Hat subscription prepared, refresh it

jupyter/pytorch+llmcompressor/ubi9-python-3.12/Dockerfile.cuda

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -38,6 +38,7 @@ USER 0
3838
# 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.
3939
# By copying ubi.repo from the public UBI 9 image, we enable package management for upgrades and installations.
4040
COPY --from=ubi-repos /etc/yum.repos.d/ubi.repo /etc/yum.repos.d/ubi.repo
41+
COPY --from=ubi-repos /etc/pki/rpm-gpg/RPM-GPG-KEY-redhat-release /etc/pki/rpm-gpg/RPM-GPG-KEY-redhat-release
4142

4243
### BEGIN upgrade first to avoid fixable vulnerabilities
4344
# If we have a Red Hat subscription prepared, refresh it

jupyter/pytorch/ubi9-python-3.12/Dockerfile.cuda

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -38,6 +38,7 @@ USER 0
3838
# 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.
3939
# By copying ubi.repo from the public UBI 9 image, we enable package management for upgrades and installations.
4040
COPY --from=ubi-repos /etc/yum.repos.d/ubi.repo /etc/yum.repos.d/ubi.repo
41+
COPY --from=ubi-repos /etc/pki/rpm-gpg/RPM-GPG-KEY-redhat-release /etc/pki/rpm-gpg/RPM-GPG-KEY-redhat-release
4142

4243
### BEGIN upgrade first to avoid fixable vulnerabilities
4344
# If we have a Red Hat subscription prepared, refresh it

jupyter/rocm/pytorch/ubi9-python-3.12/Dockerfile.rocm

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -36,6 +36,7 @@ USER 0
3636
# 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.
3737
# By copying ubi.repo from the public UBI 9 image, we enable package management for upgrades and installations.
3838
COPY --from=ubi-repos /etc/yum.repos.d/ubi.repo /etc/yum.repos.d/ubi.repo
39+
COPY --from=ubi-repos /etc/pki/rpm-gpg/RPM-GPG-KEY-redhat-release /etc/pki/rpm-gpg/RPM-GPG-KEY-redhat-release
3940

4041
### BEGIN upgrade first to avoid fixable vulnerabilities
4142
# If we have a Red Hat subscription prepared, refresh it

jupyter/rocm/tensorflow/ubi9-python-3.12/Dockerfile.rocm

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -36,6 +36,7 @@ USER 0
3636
# 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.
3737
# By copying ubi.repo from the public UBI 9 image, we enable package management for upgrades and installations.
3838
COPY --from=ubi-repos /etc/yum.repos.d/ubi.repo /etc/yum.repos.d/ubi.repo
39+
COPY --from=ubi-repos /etc/pki/rpm-gpg/RPM-GPG-KEY-redhat-release /etc/pki/rpm-gpg/RPM-GPG-KEY-redhat-release
3940

4041
### BEGIN upgrade first to avoid fixable vulnerabilities
4142
# If we have a Red Hat subscription prepared, refresh it

jupyter/tensorflow/ubi9-python-3.12/Dockerfile.cuda

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -38,6 +38,7 @@ USER 0
3838
# 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.
3939
# By copying ubi.repo from the public UBI 9 image, we enable package management for upgrades and installations.
4040
COPY --from=ubi-repos /etc/yum.repos.d/ubi.repo /etc/yum.repos.d/ubi.repo
41+
COPY --from=ubi-repos /etc/pki/rpm-gpg/RPM-GPG-KEY-redhat-release /etc/pki/rpm-gpg/RPM-GPG-KEY-redhat-release
4142

4243
### BEGIN upgrade first to avoid fixable vulnerabilities
4344
# If we have a Red Hat subscription prepared, refresh it

0 commit comments

Comments
 (0)