We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
subscription-manager refresh
1 parent 5bdd1d3 commit cb1359aCopy full SHA for cb1359a
rstudio/rhel9-python-3.12/Dockerfile.cpu
@@ -24,6 +24,13 @@ USER root
24
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
26
27
+RUN /bin/bash <<'EOF'
28
+set -Eeuxo pipefail
29
+if command -v subscription-manager &> /dev/null; then
30
+ subscription-manager refresh
31
+fi
32
+EOF
33
+
34
# upgrade first to avoid fixable vulnerabilities begin
35
# Problem: The operation would result in removing the following protected packages: systemd
36
# (try to add '--allowerasing' to command line to replace conflicting packages or '--skip-broken' to skip uninstallable packages)
0 commit comments