root-project / root-docker

Docker recipes for ROOT
30 stars 33 forks source link

Feature request: Support for OpenSUSE docker images #46

Closed xcorat closed 1 year ago

xcorat commented 1 year ago

CentOS seem to be dying and I prefer SUSE over Canonical and OpenSUSE over Ubuntu. Both in terms of open source philosophy ease of maintenance.

Do you plan on supporting OpenSUSE?

I understand there are some roadblocks compared to other distros (I don't see compiled packages for OpenSUSE on root installation page either), but it would be really nice if you have more support officially.

eguiraud commented 1 year ago

Hi @xcorat ,

we do not plan to provide ROOT binary packages for OpenSUSE as of now, so the Docker recipe would have to build ROOT from source. We would be happy to merge a Docker recipe for such an image if you or someone else can propose one.

The next hurdle is that at the moment we do not release official Docker images for the recipes that build ROOT from source, but that might change in the future.

In order to better understand the context of the request, is this in the context of personal usage or, for example, did your experiment adopt OpenSUSE as the computing infrastructure's Linux flavor?

xcorat commented 1 year ago

Thanks :)

This is partially a personal interest, but in terms of looking for official alternatives. Currently we are using CentOS and will be for the immediate future, but are looking for alternatives as the status of CentOS has changed. We use NERSC clusters, and they also have moved to SUSE for some nodes, but most container (shifter) support they provide seem to be on Ubuntu. However, if there is an official root docker image, I think that would be a better alternative for some of us.

I have used root compiled on openSUSE for about a decade on different laptops, and haven't had much trouble. Maybe we can have an unofficial image that conform to official configuration for those who want to test?

Do you have a recommended example which I can use to make a container that's similar to official ones?

eguiraud commented 1 year ago

This is probably a good starting point: https://github.com/root-project/root-docker/tree/master/ubuntu_from_source

eguiraud commented 1 year ago

most container (shifter) support they provide seem to be on Ubuntu

if you can run your code inside a container, then the host OS does not matter much, but also the OS of the container only matters in terms of availability of the packages you need. maybe one of the existing official images works as a starting point then: https://hub.docker.com/r/rootproject/root

eguiraud commented 1 year ago

Closing: as discussed, we do not plan to provide recipes for openSUSE but we'd be glad to merge a PR with the corresponding Dockerfile if the community provides it.