Skip to content

Commit

Permalink
Merge pull request #44 from riege/rhel9-rpmbuild
Browse files Browse the repository at this point in the history
✨ Add Centos9 Dockerfile
  • Loading branch information
HardTy authored Jan 26, 2024
2 parents f7ac555 + e6cdf47 commit d5f4a2e
Showing 1 changed file with 13 additions and 0 deletions.
13 changes: 13 additions & 0 deletions docker-build/Dockerfile.centos-9
Original file line number Diff line number Diff line change
@@ -0,0 +1,13 @@
FROM quay.io/centos/centos:stream9

# hadolint ignore=DL3041
RUN dnf install -y findutils rpm-build rpm-sign dos2unix && dnf clean all

# hadolint ignore=SC2039
RUN mkdir -p /rpmbuild/{SPECS,SOURCES,BUILD,BUILDROOT,RPMS,SRPMS}

COPY ./docker-build/rpmbuild.sh /

RUN chmod +rx /rpmbuild.sh

ENTRYPOINT ["/rpmbuild.sh"]

0 comments on commit d5f4a2e

Please # to comment.