-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
new image doesn't properly support oidc mod auth, and is configured far differently. safer just to wait until image updates
- Loading branch information
1 parent
ff45461
commit f321abf
Showing
3 changed files
with
5 additions
and
5 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,8 +1,8 @@ | ||
FROM httpd:2.4.62 | ||
FROM ubuntu/apache2 | ||
|
||
RUN apt update && apt install -y apache2 libapache2-mod-auth-openidc ca-certificates python3-boto3 && a2enmod auth_openidc proxy proxy_http proxy_html proxy_wstunnel ssl substitute rewrite headers && \ | ||
RUN apt update && apt install -y libapache2-mod-auth-openidc ca-certificates python3-boto3 && a2enmod auth_openidc proxy proxy_http proxy_html proxy_wstunnel ssl substitute rewrite headers && \ | ||
sed -i 's/Listen 80/Listen 8080/' /etc/apache2/ports.conf | ||
|
||
COPY write_site.py /usr/local/bin/ | ||
|
||
CMD ["/bin/bash", "-c", "python3 /usr/local/bin/write_site.py && httpd-foreground"] | ||
CMD ["/bin/bash", "-c", "python3 /usr/local/bin/write_site.py && apache2-foreground"] |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters