# This image is used for building the RPMs for SolutionTM FROM fedora:40 as build # Some general tools used for RPM building RUN dnf install rpm-build rpmdevtools dnf-plugins-core git -y RUN rpmdev-setuptree # Get the build deps ADD ./SolutionTM.spec ./ RUN dnf builddep ./SolutionTM.spec -y # Where the source will be mounted RUN mkdir /source WORKDIR /source