Scope
Test building RPM with EPEL packages.
Background & Motivation
CDRIVER-4767 was filed due to changes in documentation dependencies that broke builds for EPEL:
The C driver currently tests building the RPM package with the mongo-c-driver.spec on RHEL 9.0.
Testing building with EPEL packages may help to prevent future breakage.
Consider using Rocky Linux for testing: https://hub.docker.com/_/rockylinux. Example Dockerfile:
FROM rockylinux:8
|
RUN yum install -y epel-release
|
RUN yum install -y mongo-c-driver
|
RUN yum install -y cmake
|
RUN yum install -y gcc
|
RUN yum install -y python3-sphinx
|
# Enable powertools repository for `python3-sphinx`
|
RUN yum config-manager --set-enabled powertools
|
RUN yum install -y python3-sphinx
|
$ docker build . -t rocky-mongoc
|
$ docker run --rm -it rocky-mongoc
|
|