Skip to content

Commit

Permalink
added rpm builder for fedora 41. Marked fedora40 as latest stable
Browse files Browse the repository at this point in the history
  • Loading branch information
ralequi committed Apr 29, 2024
1 parent 0e33ba5 commit d61a51d
Show file tree
Hide file tree
Showing 2 changed files with 65 additions and 2 deletions.
4 changes: 2 additions & 2 deletions .github/workflows/publish_docker.yml
Original file line number Diff line number Diff line change
Expand Up @@ -24,9 +24,9 @@ jobs:
runs-on: ubuntu-latest
strategy:
matrix:
dockername: [fedora38, fedora39, fedora40, ubi9]
dockername: [fedora38, fedora39, fedora40, fedora41, ubi9]
include:
- dockername: "fedora39"
- dockername: "fedora40"
extratags: ", naudit/rpm-builder:latest"
steps:
- name: Checkout
Expand Down
63 changes: 63 additions & 0 deletions Dockerfile.fedora41
Original file line number Diff line number Diff line change
@@ -0,0 +1,63 @@
FROM fedora:40

# Install base groups
RUN dnf groupinstall -y \
development-tools \
c-development \
rpm-development-tools \
&& dnf clean all \
&& rm -rf /var/cache/dnf

# Install base packages
RUN dnf install -y \
bash \
cmake \
cmake-fedora \
coreutils \
curl \
diffutils \
gcc \
gcc-c++ \
git \
make \
ninja-build \
patch \
python \
rpm-build \
rpm-devel \
rpmdevtools \
rpmlint \
rust-cc-devel \
wget \
&& dnf clean all \
&& rm -rf /var/cache/dnf

# Install rpm macros
RUN dnf install -y \
cmake-rpm-macros \
fedora-rpm-macros \
go-rpm-macros \
kernel-rpm-macros \
lua-rpm-macros \
lua-rpm-macros \
pyproject-rpm-macros \
python-rpm-macros \
python-srpm-macros \
python3-rpm-macros \
systemd-rpm-macros \
typelib-srpm-macros \
&& dnf clean all \
&& rm -rf /var/cache/dnf

# Install rpm macros for python development
RUN dnf install -y \
dnf \
dnf-plugins-core \
python3-devel \
python3-rpm-macros \
python3-setuptools_scm+toml \
python3-poetry \
python3-wheel \
&& dnf clean all \
&& rm -rf /var/cache/dnf

0 comments on commit d61a51d

Please sign in to comment.