SOA/apache/Dockerfile
Alexis Bruneteau 9dfe50d24f fixed readme x)
2025-06-29 21:35:13 +02:00

15 lines
649 B
Docker

FROM httpd:2.4
# Install dependencies and mod_auth_openidc
RUN apt-get update && \
apt-get install -y libapache2-mod-auth-openidc && \
apt-get clean && \
rm -rf /var/lib/apt/lists/* && \
# Create symlink for the module in the expected location
ln -sf /usr/lib/apache2/modules/mod_auth_openidc.so /usr/local/apache2/modules/mod_auth_openidc.so
# Copy your vhost config and certs
COPY conf/extra/httpd-vhosts.conf /usr/local/apache2/conf/extra/httpd-vhosts.conf
COPY conf/httpd.conf /usr/local/apache2/conf/httpd.conf
COPY conf/server.crt /usr/local/apache2/conf/server.crt
COPY conf/server.key /usr/local/apache2/conf/server.key