sp-containers/files/images/sp-oidc/base/Dockerfile
Philippe Caseiro dd030ec3fa refactor(release): updating images names and tags
Now we publish a clean image name with a version, a version+build-day
and latest tag.
2023-06-12 09:17:40 +02:00

20 lines
706 B
Docker

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
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/
RUN chmod +x /usr/local/bin/httpd-foreground
RUN mkdir -p /var/www/html
RUN chown apache:apache /var/www/html
SHELL ["/bin/sh", "-c"]
CMD ["/usr/local/bin/httpd-foreground"]