solution-rpm/Containerfile

15 lines
364 B
Text
Raw Permalink Normal View History

2024-06-10 12:08:30 +02:00
# 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