Skip to content

Commit

Permalink
remove subs-manager from Containerfile
Browse files Browse the repository at this point in the history
Signed-off-by: Ernesto González <[email protected]>
  • Loading branch information
ernesgonzalez33 committed Nov 19, 2024
1 parent 1c7ef5d commit 2b64741
Showing 1 changed file with 2 additions and 3 deletions.
5 changes: 2 additions & 3 deletions build/ovirt-populator/Containerfile
Original file line number Diff line number Diff line change
Expand Up @@ -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 \
Expand Down

0 comments on commit 2b64741

Please sign in to comment.