File tree Expand file tree Collapse file tree 1 file changed +15
-0
lines changed
codeserver/ubi9-python-3.12 Expand file tree Collapse file tree 1 file changed +15
-0
lines changed Original file line number Diff line number Diff line change @@ -23,6 +23,21 @@ ARG CODESERVER_VERSION=v4.104.0
2323
2424COPY ${CODESERVER_SOURCE_CODE}/get_code_server_rpm.sh .
2525
26+ ### BEGIN Subscribe with subscription manager
27+ RUN /bin/bash <<'EOF'
28+ # The devops activationkey is not powerful enough, use rhoai-ide-konflux key
29+ # https://redhat-internal.slack.com/archives/C07SBP17R7Z/p1764077596143619?thread_ts=1761667034.429529&cid=C07SBP17R7Z
30+ subscription-manager register --org 18631088 --activationkey thisisunsafe
31+
32+ # If we have a Red Hat subscription prepared, refresh it
33+ set -Eeuxo pipefail
34+ if command -v subscription-manager &> /dev/null; then
35+ subscription-manager identity &>/dev/null && subscription-manager refresh || echo "No identity, skipping refresh."
36+ fi
37+ EOF
38+
39+ ### END Subscribe with subscription manager
40+
2641# create dummy file to ensure this stage is awaited before installing rpm
2742RUN ./get_code_server_rpm.sh && touch /tmp/control
2843
You can’t perform that action at this time.
0 commit comments