refactor(all): complete rework of the repo
Moving to a recipeless way of doing things
This commit is contained in:
20
files/images/sp-oidc/base/Dockerfile
Normal file
20
files/images/sp-oidc/base/Dockerfile
Normal file
@ -0,0 +1,20 @@
|
||||
FROM reg.cadoles.com/proxy_cache/library/alpine:edge
|
||||
#FROM reg.cadoles.com/proxy_cache/library/httpd:alpine3.18
|
||||
|
||||
# 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
|
||||
|
||||
RUN mkdir -p /var/www/html
|
||||
|
||||
COPY files/alpine/sp-oidc/base/conf.d/mod-auth-openidc.conf /etc/apache2/conf.d/mod-auth-openidc.conf
|
||||
COPY files/alpine/sp-oidc/base/conf.d/default-vhost.conf /etc/apache2/conf.d/default-vhost.conf
|
||||
COPY files/alpine/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"]
|
Reference in New Issue
Block a user