Skip to content

Commit

Permalink
Remove subscription manager commands
Browse files Browse the repository at this point in the history
They will not work on hermetic builds.
  • Loading branch information
yuumasato committed Dec 6, 2024
1 parent 6adfc20 commit e31c7f1
Showing 1 changed file with 1 addition and 3 deletions.
4 changes: 1 addition & 3 deletions build/Dockerfile.openshift
Original file line number Diff line number Diff line change
Expand Up @@ -14,11 +14,9 @@ FROM registry.redhat.io/ubi9/ubi:latest
# isn't available on the operator container image. Find a way to do this
# without bloating the image.
RUN export SMDEV_CONTAINER_OFF=1 && \
subscription-manager register --org $(cat "/activation-key/org") --activationkey $(cat "/activation-key/activationkey") && \
yum -y update && \
yum -y install aide tar && yum clean all && \
yum -y clean all && rm -rf /var/cache/yum && \
subscription-manager unregister
yum -y clean all && rm -rf /var/cache/yum

LABEL \
io.k8s.display-name="OpenShift File Integrity Operator" \
Expand Down

0 comments on commit e31c7f1

Please sign in to comment.