diff --git a/docker-build/Dockerfile.centos-9 b/docker-build/Dockerfile.centos-9 new file mode 100644 index 0000000..2f0da2a --- /dev/null +++ b/docker-build/Dockerfile.centos-9 @@ -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"]