diff options
| author | 2021-11-14 23:25:27 +0100 | |
|---|---|---|
| committer | 2021-11-14 23:25:27 +0100 | |
| commit | 81b00bd8aacb0627ebb810b9100ee800bf53326f (patch) | |
| tree | 291d6f0f5d4ac5b974ce908b9897bd4e028ce8a8 /Docker/Dockerfile-Alpine | |
| parent | b780ef5276407bd681b201ced2d75cb442b8cd38 (diff) | |
Docker: Move logic to disable FreshRSS updates (#3973)
Should be done during build and not during entrypoint, to avoid modifying a potential volume (e.g. mounting the source code as a volume is used during development).
Diffstat (limited to 'Docker/Dockerfile-Alpine')
| -rw-r--r-- | Docker/Dockerfile-Alpine | 2 |
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' \ |
