From 81b00bd8aacb0627ebb810b9100ee800bf53326f Mon Sep 17 00:00:00 2001 From: Alexandre Alapetite Date: Sun, 14 Nov 2021 23:25:27 +0100 Subject: 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). --- Docker/entrypoint.sh | 3 --- 1 file changed, 3 deletions(-) (limited to 'Docker/entrypoint.sh') diff --git a/Docker/entrypoint.sh b/Docker/entrypoint.sh index e48a5e58f..1985d1ec4 100755 --- a/Docker/entrypoint.sh +++ b/Docker/entrypoint.sh @@ -6,9 +6,6 @@ find /etc/php*/ -type f -name php.ini -exec sed -r -i "\\#^;?date.timezone#s#^.* find /etc/php*/ -type f -name php.ini -exec sed -r -i "\\#^;?post_max_size#s#^.*#post_max_size = 32M#" {} \; find /etc/php*/ -type f -name php.ini -exec sed -r -i "\\#^;?upload_max_filesize#s#^.*#upload_max_filesize = 32M#" {} \; -# 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 - if [ -n "$LISTEN" ]; then find /etc/apache2/ -type f -name FreshRSS.Apache.conf -exec sed -r -i "\\#^Listen#s#^.*#Listen $LISTEN#" {} \; fi -- cgit v1.2.3