# Copyright (C) 2026 Zaher Salman # SPDX-License-Identifier: GPL-3.0-or-later # # Build container for the relocatable ROOT + musrfit runtime bundled with # muSRFlow. The default base is a manylinux_2_28 image (AlmaLinux 8, glibc # 2.28): it has a C++17 toolchain and gives a low glibc floor for the AppImage. # Override BASE_IMAGE to target a different baseline (for example a custom # manylinux2014 + devtoolset image), but note ROOT 6.38 will not build with the # stock CentOS 7 GCC 4.8. ARG BASE_IMAGE=quay.io/pypa/manylinux_2_28_x86_64 FROM ${BASE_IMAGE} ARG DEPS="" RUN dnf -y install \ cmake \ gcc \ gcc-c++ \ make \ wget \ git \ which \ tar \ gzip \ patchelf \ gsl-devel \ fftw-devel \ libxml2-devel \ boost-devel \ openssl-devel \ pcre-devel \ zlib-devel \ xz-devel \ freetype-devel \ fontconfig-devel \ libpng-devel \ libjpeg-turbo-devel \ libtiff-devel \ mesa-libGL-devel \ mesa-libGLU-devel \ libX11-devel \ libXext-devel \ libXft-devel \ libXpm-devel \ libXcursor-devel \ libXrandr-devel \ libXi-devel \ python3 \ && dnf clean all WORKDIR /work ENTRYPOINT ["/work/packaging/runtime/build-runtime.sh"]