Resolve KASM-4032 "Feature/ build fedora 37"

This commit is contained in:
Ryan Kuba
2023-02-24 12:02:28 +00:00
committed by Matthew McClaskey
parent 61613c4e65
commit e64a5f87d0
8 changed files with 234 additions and 44 deletions

View File

@@ -0,0 +1,13 @@
FROM fedora:37
RUN dnf install -y fedora-packager fedora-review
RUN dnf install -y tree vim less
RUN dnf install -y redhat-lsb-core
RUN dnf install -y dnf-plugins-core
COPY fedora/*.spec /tmp
RUN dnf builddep -y /tmp/*.spec
RUN useradd -m docker && echo "docker:docker" | chpasswd
USER docker