From 75a1bd2f3d2f5bd4a5c6c1b3354719c7f613b791 Mon Sep 17 00:00:00 2001 From: Imbus <> Date: Mon, 10 Jun 2024 12:08:30 +0200 Subject: [PATCH] Containerfile --- Containerfile | 15 +++++++++++++++ 1 file changed, 15 insertions(+) create mode 100644 Containerfile diff --git a/Containerfile b/Containerfile new file mode 100644 index 0000000..7263e92 --- /dev/null +++ b/Containerfile @@ -0,0 +1,15 @@ +# 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 \ No newline at end of file