mirror of
https://github.com/nextcloud/docker.git
synced 2025-02-02 17:48:27 +01:00
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>
This commit is contained in:
parent
97f99dbfdb
commit
71f4a94464
1 changed files with 2 additions and 14 deletions
12
update.sh
12
update.sh
|
@ -110,21 +110,9 @@ function create_variant() {
|
||||||
s/%%REDIS_VERSION%%/'"${pecl_versions[redis]}"'/g;
|
s/%%REDIS_VERSION%%/'"${pecl_versions[redis]}"'/g;
|
||||||
s/%%IMAGICK_VERSION%%/'"${pecl_versions[imagick]}"'/g;
|
s/%%IMAGICK_VERSION%%/'"${pecl_versions[imagick]}"'/g;
|
||||||
s/%%CRONTAB_INT%%/'"$crontabInt"'/g;
|
s/%%CRONTAB_INT%%/'"$crontabInt"'/g;
|
||||||
' "$dir/Dockerfile"
|
|
||||||
|
|
||||||
case "$phpVersion" in
|
|
||||||
7.4|8.0 )
|
|
||||||
sed -ri -e '
|
|
||||||
\@docker-php-ext-configure gmp --with-gmp@d;
|
\@docker-php-ext-configure gmp --with-gmp@d;
|
||||||
\@/usr/include/gmp.h@d;
|
\@/usr/include/gmp.h@d;
|
||||||
' "$dir/Dockerfile"
|
' "$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
|
# Copy the shell scripts
|
||||||
for name in entrypoint cron; do
|
for name in entrypoint cron; do
|
||||||
|
|
Loading…
Reference in a new issue