From 54c870f06c7e33a3fdec50e0354dcb0c03487b5c Mon Sep 17 00:00:00 2001 From: Lance Bragstad Date: Wed, 27 Nov 2024 14:43:23 -0600 Subject: [PATCH] Remove unnecessary subscription from operator Dockerfile Konflux is erroring out because the system is already registered, even though it's from a previous container. Remove the second subscription registration so that we don't error out installing dependencies we need for the operator container image. --- images/operator/Dockerfile | 1 - 1 file changed, 1 deletion(-) diff --git a/images/operator/Dockerfile b/images/operator/Dockerfile index 26f080048..1fdba1c46 100644 --- a/images/operator/Dockerfile +++ b/images/operator/Dockerfile @@ -14,7 +14,6 @@ FROM registry.redhat.io/ubi9/ubi:latest RUN INSTALL_PKGS="tar" && \ if [ ! -e /usr/bin/dnf ]; then ln -s /usr/bin/microdnf /usr/bin/dnf; fi && \ - subscription-manager register --org $(cat "/activation-key/org") --activationkey $(cat "/activation-key/activationkey") && \ dnf update glibc -y && \ dnf install -y --setopt=tsflags=nodocs $INSTALL_PKGS && \ dnf clean all && rm -rf /var/cache/*