Closed aclater closed 4 years ago
Yeah why not. But I would definitely need a RHEL8 docker image for that (all the package builds are automated via docker on their respective distribution images) - do you know if there is one?
You have a few options, but I think the RHEL Universal Base Image is the right place to start. It's supported by Red Hat. From the FAQ:
"UBI base image is the new de facto container base image for RHEL 8, and it is available on RHEL 7 as an optional and alternative to the pre-UBI image. The UBI base image is freely redistributable under the UBI EULA."
Found this which seems a good start on creating a RHEL8 based docker image: https://medium.com/pareture/docker-basics-dockerised-rhel8-24d49d93e91d
I might add that a RHEL8 package build does not have a really high priority on my personal list. Contributions are welcome though: Very helpful would be:
dist-package
target, similar to the existing build images (see: https://github.com/jahnf/Projecteur/tree/develop/docker) Installing a vanilla RHEL8 VM to get the package list together.
On a vanilla RHEL8 Developer free subscription (https://developers.redhat.com/topics/linux/)
Connect RHEL to RH repos using your dev credentials: sudo subscription-manager register sudo subscription-manager refresh sudo subscription-manager attach --auto
sudo dnf -y install qt5-qtbase qt5-qtbase-devel qt5-qtgraphicaleffects qt5-qtx11extras qt5-qt3d-devel qt5-qt3d make cmake git
git clone https://github.com/jahnf/projecteur mkdir build && cd build cmake .. make sudo make install sudo cp 55-spotlight.rules /lib/udev/rules.d/55-spotlight.rules sudo udevadm trigger
Looking into some gotchas for building this into a container w/UBI
@aclater Thanks for the details. I tried to create a docker build image for Projecteur based on RHEL8 yesterday (like described here https://medium.com/pareture/docker-basics-dockerised-rhel8-24d49d93e91d) but realized, that you can only get qt5 packages with a subscribtion.
This makes it basically not possible to create a docker image (which will be publicly available) for automated builds. The only thing that I could do is to add package information for RHEL8, so that RHEL8 users could run make dist-package
and it would build a rpm-package
@aclater Would a package that was built on CentOS 8, work on RHEL8?
It should - I'm happy to test
Alright: here you go, please give it a try - the latest builds also have a build for CentOS-8 and also create a package for it:
Binary works for me! Thanks a million. I'll be sure to let other folks @ Red Hat know this is available.
Perfect, great that it works. Also happy to see that Projecteur being used on a variety of distributions. All future versions will now be additionaly build on CentOS (763632e)
I was able to compile projecteur on RHEL8 and it seems to be working. I had to install a few QT libraries, but it works. There was a bit of ham fisted grasping at QT packages, but I could probably produce a list of required RPM's if someone wanted to undertake the effort.