sp-containers/files/images/sp-oidc/base/Dockerfile

20 lines
706 B
Docker
Raw Permalink Normal View History

2023-06-05 15:24:42 +02:00
FROM reg.cadoles.com/proxy_cache/library/alpine:edge
# Adding testing repo
RUN echo "https://dl-cdn.alpinelinux.org/alpine/edge/testing" >> /etc/apk/repositories
RUN apk update && apk add apache-mod-auth-openidc apache2-ssl bash
RUN mkdir -p /var/www/html
2023-06-05 15:24:42 +02:00
2023-06-09 12:25:23 +02:00
COPY files/images/sp-oidc/base/conf.d/mod-auth-openidc.conf /etc/apache2/conf.d/mod-auth-openidc.conf
COPY files/images/sp-oidc/base/conf.d/default-vhost.conf /etc/apache2/conf.d/default-vhost.conf
COPY files/images/sp-oidc/base/scripts/httpd-foreground /usr/local/bin/
2023-06-05 15:24:42 +02:00
RUN chmod +x /usr/local/bin/httpd-foreground
RUN mkdir -p /var/www/html
RUN chown apache:apache /var/www/html
2023-06-05 15:24:42 +02:00
SHELL ["/bin/sh", "-c"]
CMD ["/usr/local/bin/httpd-foreground"]