kanidm/examples/apache_oauth/Dockerfile
James Hodgkinson 9246293922
Fighting with zypper, tagging our images (#1964)
* fighting weird build issues

* labels are better outside

* ugh that stupid linter

* why do you always lint on me

* neat

* adding comments
2023-08-14 10:06:53 +10:00

14 lines
315 B
Docker

FROM ubuntu/apache2:latest
RUN apt-get update
RUN apt-get install -y \
libapache2-mod-auth-openidc \
apache2-utils
RUN a2enmod auth_openidc
RUN a2enmod ssl
RUN rm /etc/apache2/sites-enabled/000-default.conf
COPY index.html /var/www/html/index.html
COPY oauth2.conf /etc/apache2/sites-enabled/oauth2.conf