From 71f4a94464a7e19a84b7fd97fa2a8a8673a72d4b Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Manuel=20R=C3=BCger?= Date: Mon, 28 Mar 2022 17:30:37 +0200 Subject: [PATCH] update.sh: Remove unused paths (#1723) MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit As php 7.x is not used anymore, these can be removed. Signed-off-by: Manuel RĂ¼ger --- update.sh | 16 ++-------------- 1 file changed, 2 insertions(+), 14 deletions(-) diff --git a/update.sh b/update.sh index d65377f4..7b8627f7 100755 --- a/update.sh +++ b/update.sh @@ -110,22 +110,10 @@ function create_variant() { s/%%REDIS_VERSION%%/'"${pecl_versions[redis]}"'/g; s/%%IMAGICK_VERSION%%/'"${pecl_versions[imagick]}"'/g; s/%%CRONTAB_INT%%/'"$crontabInt"'/g; + \@docker-php-ext-configure gmp --with-gmp@d; + \@/usr/include/gmp.h@d; ' "$dir/Dockerfile" - case "$phpVersion" in - 7.4|8.0 ) - sed -ri -e ' - \@docker-php-ext-configure gmp --with-gmp@d; - \@/usr/include/gmp.h@d; - ' "$dir/Dockerfile" - ;; - 7.3 ) - sed -ri -e ' - s@gd --with-freetype --with-jpeg --with-webp@gd --with-freetype-dir=/usr --with-png-dir=/usr --with-jpeg-dir=/usr --with-webp-dir=/usr@g; - ' "$dir/Dockerfile" - ;; - esac - # Copy the shell scripts for name in entrypoint cron; do cp "docker-$name.sh" "$dir/$name.sh"