# Dockerfile for running Unix socket integration tests FROM rockylinux:8 # Install 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 # Copy module source COPY src/ src/ COPY Makefile Makefile COPY conf/ conf/ # Build the module RUN make APXS=/usr/bin/apxs # Copy test scripts COPY scripts/test_unix_socket.sh /test_unix_socket.sh COPY scripts/socket_listener.py /build/scripts/socket_listener.py RUN chmod +x /test_unix_socket.sh RUN mkdir -p /build/scripts # Create document root RUN mkdir -p /var/www/html RUN echo "