A free, self-hostable news aggregator…
Fix OpenID Connect crash on ARM (#5463)
Alexandre Alapetiteae8dfc1b1b61
diff --git a/Docker/Dockerfile b/Docker/Dockerfileindex b205b9d9c..b046d7fd9 100644--- a/Docker/Dockerfile+++ b/Docker/Dockerfile@@ -36,6 +36,7 @@ LABEL \org.opencontainers.image.version="$FRESHRSS_VERSION"RUN a2dismod -f alias autoindex negotiation status && \+ a2dismod auth_openidc && \a2enmod deflate expires headers mime remoteip setenvif && \a2disconf '*' && \a2dissite '*' && \diff --git a/Docker/Dockerfile-QEMU-ARM b/Docker/Dockerfile-QEMU-ARMindex 7654a187d..e01989e2b 100644--- a/Docker/Dockerfile-QEMU-ARM+++ b/Docker/Dockerfile-QEMU-ARM@@ -42,6 +42,7 @@ LABEL \org.opencontainers.image.version="$FRESHRSS_VERSION"RUN a2dismod -f alias autoindex negotiation status && \+ a2dismod auth_openidc && \a2enmod deflate expires headers mime remoteip setenvif && \a2disconf '*' && \a2dissite '*' && \diff --git a/Docker/entrypoint.sh b/Docker/entrypoint.shindex cbc2443d6..6420ca219 100755--- a/Docker/entrypoint.sh+++ b/Docker/entrypoint.sh@@ -11,6 +11,10 @@ if [ -n "$LISTEN" ]; thenfind /etc/apache2/ -type f -name FreshRSS.Apache.conf -exec sed -r -i "\\#^Listen#s#^.*#Listen $LISTEN#" {} \;fi+if [ -n "$OIDC_ENABLED" ] && [ "$OIDC_ENABLED" -ne 0 ]; then+ a2enmod auth_openidc+fi+if [ -n "$CRON_MIN" ]; then(echo "export TZ=$TZ"