# Dockerfile for building mod_reqin_log (minimal - no tests) FROM rockylinux:8 # Install build dependencies RUN dnf install -y epel-release && \ dnf install -y \ gcc \ make \ httpd \ httpd-devel \ apr-devel \ apr-util-devel \ python3 \ curl \ redhat-rpm-config \ && dnf clean all # Set working directory WORKDIR /build # Copy source files COPY src/ src/ COPY Makefile Makefile COPY conf/ conf/ # Build the module RUN make APXS=/usr/bin/apxs # Verify module was built RUN ls -la modules/mod_reqin_log.so # Default command CMD ["/bin/bash"]