diff options
author | Manuel Rüger <manuel@rueg.eu> | 2022-03-28 17:30:37 +0200 |
---|---|---|
committer | GitHub <noreply@github.com> | 2022-03-28 15:30:37 +0000 |
commit | 71f4a94464a7e19a84b7fd97fa2a8a8673a72d4b (patch) | |
tree | 9d128a0fe9d6ca2d4c654432c7b38dca0e72e77a /update.sh | |
parent | 97f99dbfdb34b7d82014f635e5f0e2c780bb977f (diff) |
update.sh: Remove unused paths (#1723)
As php 7.x is not used anymore, these can be removed.
Signed-off-by: Manuel Rüger <manuel@rueg.eu>
Diffstat (limited to 'update.sh')
-rwxr-xr-x | update.sh | 16 |
1 files changed, 2 insertions, 14 deletions
@@ -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" |