Skip to content

Commit

Permalink
Commenting out subscription lines from the dockerfile
Browse files Browse the repository at this point in the history
Signed-off-by: Julien Ropé <[email protected]>
  • Loading branch information
littlejawa committed Feb 7, 2025
1 parent 13d7451 commit b765eae
Showing 1 changed file with 7 additions and 7 deletions.
14 changes: 7 additions & 7 deletions podvm-payload/Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -30,13 +30,13 @@ USER root
# If you are running a UBI container on a registered and subscribed RHEL host,
# the main RHEL Server repository is enabled inside the standard UBI container.
# Uncomment this and provide the associated ARG variables to register.
ARG ACTIVATION_KEY
ARG ORG_ID
RUN if [[ -n "${ACTIVATION_KEY}" && -n "${ORG_ID}" ]]; then \
REPO_ARCH=$(uname -m) && \
subscription-manager register --org=${ORG_ID} --activationkey=${ACTIVATION_KEY} && \
subscription-manager repos --enable rhel-9-for-${REPO_ARCH}-appstream-rpms --enable codeready-builder-for-rhel-9-${REPO_ARCH}-rpms; \
fi
#ARG ACTIVATION_KEY
#ARG ORG_ID
#RUN if [[ -n "${ACTIVATION_KEY}" && -n "${ORG_ID}" ]]; then \
# REPO_ARCH=$(uname -m) && \
# subscription-manager register --org=${ORG_ID} --activationkey=${ACTIVATION_KEY} && \
# subscription-manager repos --enable rhel-9-for-${REPO_ARCH}-appstream-rpms --enable codeready-builder-for-rhel-9-${REPO_ARCH}-rpms; \
# fi
RUN dnf clean packages && dnf install -y git rust cargo perl-File-Compare perl-FindBin cmake gcc-c++ perl protobuf-compiler clang-devel device-mapper-devel tpm2-tss-devel

RUN mkdir -p /artifacts/usr/local/bin
Expand Down

0 comments on commit b765eae

Please sign in to comment.