Uploaded image for project: 'C Driver'
  1. C Driver
  2. CDRIVER-4794

Test building RPM with EPEL packages

    XMLWordPrintableJSON

Details

    • Icon: Task Task
    • Resolution: Unresolved
    • Icon: Unknown Unknown
    • None
    • None
    • None
    • None

    Description

      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
      

      Attachments

        Activity

          People

            Unassigned Unassigned
            kevin.albertson@mongodb.com Kevin Albertson
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

            Dates

              Created:
              Updated: