diff --git a/.github/workflows/publish_docker.yml b/.github/workflows/publish_docker.yml index c2655a5..eba8181 100644 --- a/.github/workflows/publish_docker.yml +++ b/.github/workflows/publish_docker.yml @@ -24,7 +24,7 @@ jobs: runs-on: ubuntu-latest strategy: matrix: - dockername: [fedora37, fedora38] + dockername: [fedora37, fedora38, fedora39] include: - dockername: "fedora38" extratags: ", naudit/rpm-builder:latest" diff --git a/Dockerfile.fedora39 b/Dockerfile.fedora39 new file mode 100644 index 0000000..833cdb4 --- /dev/null +++ b/Dockerfile.fedora39 @@ -0,0 +1,48 @@ +FROM fedora:39 + +# Install base packages +RUN dnf install -y \ + bash \ + coreutils \ + curl \ + diffutils \ + gcc \ + git \ + make \ + patch \ + python \ + rpm-build \ + rpm-devel \ + rpmdevtools \ + rpmlint \ + wget \ + && dnf clean all \ + && rm -rf /var/cache/dnf + +# Install rpm macros +RUN dnf install -y \ + cmake-rpm-macros.noarch \ + 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-plugins-core \ + python3-devel \ + python3-rpm-macros \ + python3-setuptools_scm+toml \ + python3-wheel \ + && dnf clean all \ + && rm -rf /var/cache/dnf +