Skip to content

Commit ac7d523

Browse files
authored
reapply RHOAIENG-32541: fix(subscription): remove subscription-manager.*register from Dockerfiles to have Konflux do it for us (#2686) (#2785)
1 parent 3cad7f9 commit ac7d523

File tree

24 files changed

+45
-23
lines changed

24 files changed

+45
-23
lines changed

codeserver/ubi9-python-3.12/Dockerfile.cpu

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -83,7 +83,7 @@ USER 0
8383
RUN /bin/bash <<'EOF'
8484
set -Eeuxo pipefail
8585
if command -v subscription-manager &> /dev/null; then
86-
subscription-manager identity &>/dev/null && subscription-manager refresh || echo "Not registered, skipping refresh."
86+
subscription-manager identity &>/dev/null && subscription-manager refresh || echo "No identity, skipping refresh."
8787
fi
8888
EOF
8989

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

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -49,7 +49,7 @@ ARG TARGETARCH
4949
RUN /bin/bash <<'EOF'
5050
set -Eeuxo pipefail
5151
if command -v subscription-manager &> /dev/null; then
52-
subscription-manager identity &>/dev/null && subscription-manager refresh || echo "Not registered, skipping refresh."
52+
subscription-manager identity &>/dev/null && subscription-manager refresh || echo "No identity, skipping refresh."
5353
fi
5454
EOF
5555

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

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -29,7 +29,7 @@ USER 0
2929
RUN /bin/bash <<'EOF'
3030
set -Eeuxo pipefail
3131
if command -v subscription-manager &> /dev/null; then
32-
subscription-manager identity &>/dev/null && subscription-manager refresh || echo "Not registered, skipping refresh."
32+
subscription-manager identity &>/dev/null && subscription-manager refresh || echo "No identity, skipping refresh."
3333
fi
3434
EOF
3535

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

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -28,7 +28,7 @@ USER 0
2828
RUN /bin/bash <<'EOF'
2929
set -Eeuxo pipefail
3030
if command -v subscription-manager &> /dev/null; then
31-
subscription-manager identity &>/dev/null && subscription-manager refresh || echo "Not registered, skipping refresh."
31+
subscription-manager identity &>/dev/null && subscription-manager refresh || echo "No identity, skipping refresh."
3232
fi
3333
EOF
3434

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

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -26,7 +26,7 @@ USER 0
2626
RUN /bin/bash <<'EOF'
2727
set -Eeuxo pipefail
2828
if command -v subscription-manager &> /dev/null; then
29-
subscription-manager identity &>/dev/null && subscription-manager refresh || echo "Not registered, skipping refresh."
29+
subscription-manager identity &>/dev/null && subscription-manager refresh || echo "No identity, skipping refresh."
3030
fi
3131
EOF
3232

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

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -36,7 +36,7 @@ USER 0
3636
RUN /bin/bash <<'EOF'
3737
set -Eeuxo pipefail
3838
if command -v subscription-manager &> /dev/null; then
39-
subscription-manager identity &>/dev/null && subscription-manager refresh || echo "Not registered, skipping refresh."
39+
subscription-manager identity &>/dev/null && subscription-manager refresh || echo "No identity, skipping refresh."
4040
fi
4141
EOF
4242

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

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -36,7 +36,7 @@ USER 0
3636
RUN /bin/bash <<'EOF'
3737
set -Eeuxo pipefail
3838
if command -v subscription-manager &> /dev/null; then
39-
subscription-manager identity &>/dev/null && subscription-manager refresh || echo "Not registered, skipping refresh."
39+
subscription-manager identity &>/dev/null && subscription-manager refresh || echo "No identity, skipping refresh."
4040
fi
4141
EOF
4242

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

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -34,7 +34,7 @@ USER 0
3434
RUN /bin/bash <<'EOF'
3535
set -Eeuxo pipefail
3636
if command -v subscription-manager &> /dev/null; then
37-
subscription-manager identity &>/dev/null && subscription-manager refresh || echo "Not registered, skipping refresh."
37+
subscription-manager identity &>/dev/null && subscription-manager refresh || echo "No identity, skipping refresh."
3838
fi
3939
EOF
4040

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

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -34,7 +34,7 @@ USER 0
3434
RUN /bin/bash <<'EOF'
3535
set -Eeuxo pipefail
3636
if command -v subscription-manager &> /dev/null; then
37-
subscription-manager identity &>/dev/null && subscription-manager refresh || echo "Not registered, skipping refresh."
37+
subscription-manager identity &>/dev/null && subscription-manager refresh || echo "No identity, skipping refresh."
3838
fi
3939
EOF
4040

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

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -36,7 +36,7 @@ USER 0
3636
RUN /bin/bash <<'EOF'
3737
set -Eeuxo pipefail
3838
if command -v subscription-manager &> /dev/null; then
39-
subscription-manager identity &>/dev/null && subscription-manager refresh || echo "Not registered, skipping refresh."
39+
subscription-manager identity &>/dev/null && subscription-manager refresh || echo "No identity, skipping refresh."
4040
fi
4141
EOF
4242

0 commit comments

Comments
 (0)