Skip to content

Commit 9eece22

Browse files
authored
Add subscription-manager refresh in Dockerfile.konflux
Add subscription-manager refresh command to Dockerfile
1 parent 3bf4654 commit 9eece22

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

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

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -49,6 +49,8 @@ ARG TARGETARCH
4949
# By copying ubi.repo from the public UBI 9 image, we enable package management for upgrades and installations.
5050
COPY --from=ubi-repos /etc/yum.repos.d/ubi.repo /etc/yum.repos.d/ubi.repo
5151

52+
RUN subscription-manager refresh
53+
5254
# upgrade first to avoid fixable vulnerabilities begin
5355
# Problem: The operation would result in removing the following protected packages: systemd
5456
# (try to add '--allowerasing' to command line to replace conflicting packages or '--skip-broken' to skip uninstallable packages)

0 commit comments

Comments
 (0)