From 2b64741522a7eb7c83736a45d0f81fce893abc52 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Ernesto=20Gonz=C3=A1lez?= Date: Tue, 19 Nov 2024 11:07:16 +0100 Subject: [PATCH] remove subs-manager from Containerfile MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Signed-off-by: Ernesto González --- build/ovirt-populator/Containerfile | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) diff --git a/build/ovirt-populator/Containerfile b/build/ovirt-populator/Containerfile index 0bf8a10b2..2dfa9d618 100644 --- a/build/ovirt-populator/Containerfile +++ b/build/ovirt-populator/Containerfile @@ -9,9 +9,8 @@ RUN GOOS=linux GOARCH=amd64 go build -o ovirt-populator github.com/konveyor/fork FROM registry.access.redhat.com/ubi8/ubi:8.10-1088 COPY --from=builder /app/ovirt-populator /usr/local/bin/ovirt-populator -RUN subscription-manager register --org $(cat "/activation-key/org") --activationkey $(cat "/activation-key/activationkey") -RUN subscription-manager repos --enable=rhv-4-tools-for-rhel-8-x86_64-rpms -RUN dnf install -y python3-ovirt-engine-sdk4 ovirt-imageio-client && dnf clean all +RUN subscription-manager refresh && \ + dnf install -y python3-ovirt-engine-sdk4 ovirt-imageio-client && dnf clean all ENTRYPOINT ["/usr/local/bin/ovirt-populator"] LABEL \