aboutsummaryrefslogtreecommitdiff
path: root/Docker/Dockerfile-Alpine
diff options
context:
space:
mode:
Diffstat (limited to 'Docker/Dockerfile-Alpine')
-rw-r--r--Docker/Dockerfile-Alpine2
1 files changed, 2 insertions, 0 deletions
diff --git a/Docker/Dockerfile-Alpine b/Docker/Dockerfile-Alpine
index 8a14f32db..70311f162 100644
--- a/Docker/Dockerfile-Alpine
+++ b/Docker/Dockerfile-Alpine
@@ -39,6 +39,8 @@ RUN rm -f /etc/apache2/conf.d/languages.conf /etc/apache2/conf.d/info.conf \
sed -r -i "/^\s*(CustomLog|ErrorLog|Listen) /s/^/#/" \
/etc/apache2/httpd.conf && \
if [ ! -f /usr/bin/php ]; then ln -s /usr/bin/php8 /usr/bin/php; else true; fi && \
+ # Disable built-in updates when using Docker, as the full image is supposed to be updated instead.
+ sed -r -i "\\#disable_update#s#^.*#\t'disable_update' => true,#" ./config.default.php && \
touch /var/www/FreshRSS/Docker/env.txt && \
echo "27,57 * * * * . /var/www/FreshRSS/Docker/env.txt; \
su apache -s /bin/sh -c 'php /var/www/FreshRSS/app/actualize_script.php' \