Containerfile
This commit is contained in:
parent
88cfe7d8ba
commit
75a1bd2f3d
1 changed files with 15 additions and 0 deletions
15
Containerfile
Normal file
15
Containerfile
Normal file
|
@ -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
|
Loading…
Reference in a new issue