summaryrefslogtreecommitdiffstats
path: root/update.sh
diff options
context:
space:
mode:
authorManuel Rüger <manuel@rueg.eu>2022-03-28 17:30:37 +0200
committerGitHub <noreply@github.com>2022-03-28 15:30:37 +0000
commit71f4a94464a7e19a84b7fd97fa2a8a8673a72d4b (patch)
tree9d128a0fe9d6ca2d4c654432c7b38dca0e72e77a /update.sh
parent97f99dbfdb34b7d82014f635e5f0e2c780bb977f (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-xupdate.sh16
1 files 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"