Skip to content

Commit

Permalink
added fedora42
Browse files Browse the repository at this point in the history
  • Loading branch information
ralequi committed Nov 8, 2024
1 parent 90951ef commit e27e8ab
Show file tree
Hide file tree
Showing 3 changed files with 66 additions and 2 deletions.
2 changes: 1 addition & 1 deletion .github/workflows/publish_docker.yml
Original file line number Diff line number Diff line change
Expand Up @@ -24,7 +24,7 @@ jobs:
runs-on: ubuntu-latest
strategy:
matrix:
dockername: [fedora38, fedora39, fedora40, fedora41, ubi9]
dockername: [fedora39, fedora40, fedora41, fedora42, ubi9]
include:
- dockername: "fedora40"
extratags: ", naudit/rpm-builder:latest"
Expand Down
63 changes: 63 additions & 0 deletions Dockerfile.fedora42
Original file line number Diff line number Diff line change
@@ -0,0 +1,63 @@
FROM fedora:42

# 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

3 changes: 2 additions & 1 deletion Dockerfile.ubi9
Original file line number Diff line number Diff line change
Expand Up @@ -26,6 +26,7 @@ RUN dnf install -y \
epel-rpm-macros \
go-rpm-macros-epel \
kernel-srpm-macros \
lua-rpm-macros \
pyproject-rpm-macros \
pyproject-rpm-macros \
python-rpm-macros \
Expand All @@ -52,4 +53,4 @@ RUN dnf install -y \
# rpmdevtools \
# typelib-srpm-macros \
# fedora-rpm-macros \
# lua-rpm-macros \
#

0 comments on commit e27e8ab

Please sign in to comment.