FROM registry.access.redhat.com/ubi9/ubi:latest RUN < /etc/dnf/plugins/subscription-manager.conf echo "Installing flightctl..." curl -sSfL -o /etc/yum.repos.d/flightctl-copr.repo https://copr.fedorainfracloud.org/coprs/g/redhat-et/flightctl/repo/rhel-9/group_redhat-et-flightctl-rhel-9.repo dnf install -y flightctl echo "Cleaning up..." dnf clean all EOF ENTRYPOINT [ "/usr/bin/flightctl" ] CMD [ ]