issue while installing pushpin on rhel-8

While building a custom image on top of Red Hat RHEL-8 (redhat/ubi8) for installing a Pushpin, I encounter an issue stating
Cannot install the best candidate for the job;
nothing provides libQt5Core.so.5()(64bit) needed by Pushpin-1.37.0.

complete error details :

3.853 Error: 
3.853  Problem: cannot install the best candidate for the job
3.853   - nothing provides libQt5Core.so.5()(64bit) needed by pushpin-1.37.0-0.el8.x86_64
3.853   - nothing provides libQt5Core.so.5(Qt_5)(64bit) needed by pushpin-1.37.0-0.el8.x86_64
3.853   - nothing provides libQt5Core.so.5(Qt_5.15)(64bit) needed by pushpin-1.37.0-0.el8.x86_64
3.853   - nothing provides libQt5Network.so.5()(64bit) needed by pushpin-1.37.0-0.el8.x86_64
3.853   - nothing provides libQt5Network.so.5(Qt_5)(64bit) needed by pushpin-1.37.0-0.el8.x86_64
3.854 (try to add '--skip-broken' to skip uninstallable packages or '--nobest' to use not only best candidate packages)

could you please help if any additional repository to be configured.

:wave: Hi Tejavenkat

Thanks for reaching out to us!

I just wanted to let you know that we have seen your question :+1: and I’ve already reached out to a specific internal team who I believe are the best people to help with your query.

I’m just waiting for a response from them (they’re in a different time zone from myself) and so I’ll feedback here once they’ve had an opportunity to review.

Thanks again.

Hi Mark,

Thanks for your response and please let me know if any additional details are requried

this is the docker file

FROM redhat/ubi8


RUN dnf -y install https://dl.fedoraproject.org/pub/epel/epel-release-latest-8.noarch.rpm
RUN dnf -y install https://fanout.jfrog.io/artifactory/rpm/centos8/fanout-repo-el8-3-1.x86_64.rpm
RUN dnf -y update && yum -y install pushpin
CMD ["pushpin", "--merge-output"]

EXPOSE 7999
EXPOSE 5560
EXPOSE 5561
EXPOSE 5562
EXPOSE 5563

Would it be acceptable to use almalinux:8 as a base image, instead?

Almalinux (https://almalinux.org/) should be compatible to RHEL, and does contain the necessary qt packages.

Hi Jan,

Thanks for your input.

we need to use RHEL:8 as all other services on RHEL and have subscribe to red hat licence.

Please let me know if any packages are required and we can install them.

Hi Team, any update on this

In RHEL 8 the QT packages are in the AppStream repo, so you will need to use your system’s tools to enable that additional RHEL repository. This will allow yum or dnf to find the required packages.

It is quite likely that those packages are not included in the UBI repositories as those repositories are kept to a minimal set (on purpose), and enabling the additional repositories will require that your image be built on (and run on) a machine with a RHEL subscription.

Thanks Kevin, we will try with RHEL subscription