diff --git a/Makefile b/Makefile --- a/Makefile +++ b/Makefile @@ -203,9 +203,11 @@ i18n/hg.pot: $(PYFILES) $(DOCFILES) i18n packaging_targets := \ rhel7 \ rhel8 \ + rhel9 \ deb \ docker-rhel7 \ docker-rhel8 \ + docker-rhel9 \ docker-debian-bullseye \ docker-debian-buster \ docker-debian-stretch \ diff --git a/contrib/packaging/Makefile b/contrib/packaging/Makefile --- a/contrib/packaging/Makefile +++ b/contrib/packaging/Makefile @@ -15,7 +15,8 @@ FEDORA_RELEASE := 31 RHEL_RELEASES := \ 7 \ - 8 + 8 \ + 9 # Build a Python for these RHEL (and derivatives) releases. RHEL_WITH_PYTHON_RELEASES := diff --git a/contrib/packaging/docker/rhel8 b/contrib/packaging/docker/rhel9 copy from contrib/packaging/docker/rhel8 copy to contrib/packaging/docker/rhel9 --- a/contrib/packaging/docker/rhel8 +++ b/contrib/packaging/docker/rhel9 @@ -1,8 +1,12 @@ -FROM rockylinux/rockylinux:8 +FROM rockylinux/rockylinux:9 RUN groupadd -g %GID% build && \ useradd -u %UID% -g %GID% -s /bin/bash -d /build -m build +RUN dnf install 'dnf-command(config-manager)' -y +# crb repository is necessary for docutils +RUN dnf config-manager --set-enabled crb + RUN yum install -y \ gcc \ gettext \