File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change 11# DO NOT EDIT: created by update.sh from Dockerfile-debian.template
2- FROM php:8.3 -apache-trixie
2+ FROM php:8.4 -apache-trixie
33
44# entrypoint.sh and cron.sh dependencies
55RUN set -ex; \
@@ -46,7 +46,7 @@ RUN set -ex; \
4646 ; \
4747 \
4848 debMultiarch="$(dpkg-architecture --query DEB_BUILD_MULTIARCH)" ; \
49- docker-php-ext-configure ftp --with-openssl-dir=/usr ; \
49+ docker-php-ext-configure ftp --with-ftp-ssl ; \
5050 docker-php-ext-configure gd --with-freetype --with-jpeg --with-webp; \
5151 docker-php-ext-configure ldap --with-libdir="lib/$debMultiarch" ; \
5252 docker-php-ext-install -j "$(nproc)" \
Original file line number Diff line number Diff line change 11# DO NOT EDIT: created by update.sh from Dockerfile-alpine.template
2- FROM php:8.3 -fpm-alpine3.23
2+ FROM php:8.4 -fpm-alpine3.23
33
44# entrypoint.sh and cron.sh dependencies
55RUN set -ex; \
@@ -42,7 +42,7 @@ RUN set -ex; \
4242 postgresql-dev \
4343 ; \
4444 \
45- docker-php-ext-configure ftp --with-openssl-dir=/usr ; \
45+ docker-php-ext-configure ftp --with-ftp-ssl ; \
4646 docker-php-ext-configure gd --with-freetype --with-jpeg --with-webp; \
4747 docker-php-ext-configure ldap; \
4848 docker-php-ext-install -j "$(nproc)" \
Original file line number Diff line number Diff line change 11# DO NOT EDIT: created by update.sh from Dockerfile-debian.template
2- FROM php:8.3 -fpm-trixie
2+ FROM php:8.4 -fpm-trixie
33
44# entrypoint.sh and cron.sh dependencies
55RUN set -ex; \
@@ -46,7 +46,7 @@ RUN set -ex; \
4646 ; \
4747 \
4848 debMultiarch="$(dpkg-architecture --query DEB_BUILD_MULTIARCH)" ; \
49- docker-php-ext-configure ftp --with-openssl-dir=/usr ; \
49+ docker-php-ext-configure ftp --with-ftp-ssl ; \
5050 docker-php-ext-configure gd --with-freetype --with-jpeg --with-webp; \
5151 docker-php-ext-configure ldap --with-libdir="lib/$debMultiarch" ; \
5252 docker-php-ext-install -j "$(nproc)" \
Original file line number Diff line number Diff line change @@ -41,7 +41,7 @@ RUN set -ex; \
4141 postgresql-dev \
4242 ; \
4343 \
44- docker-php-ext-configure ftp --with-openssl-dir=/usr ; \
44+ docker-php-ext-configure ftp %%FTP_OPTIONS%% ; \
4545 docker-php-ext-configure gd --with-freetype --with-jpeg --with-webp; \
4646 docker-php-ext-configure ldap; \
4747 docker-php-ext-install -j "$(nproc)" \
Original file line number Diff line number Diff line change @@ -45,7 +45,7 @@ RUN set -ex; \
4545 ; \
4646 \
4747 debMultiarch="$(dpkg-architecture --query DEB_BUILD_MULTIARCH)"; \
48- docker-php-ext-configure ftp --with-openssl-dir=/usr ; \
48+ docker-php-ext-configure ftp %%FTP_OPTIONS%% ; \
4949 docker-php-ext-configure gd --with-freetype --with-jpeg --with-webp; \
5050 docker-php-ext-configure ldap --with-libdir="lib/$debMultiarch"; \
5151 docker-php-ext-install -j "$(nproc)" \
Original file line number Diff line number Diff line change @@ -10,7 +10,15 @@ declare -A debian_version=(
1010)
1111
1212declare -A php_version=(
13- [default]=' 8.3'
13+ [31]=' 8.3'
14+ [32]=' 8.3'
15+ [default]=' 8.4'
16+ )
17+
18+ declare -A ftp_options=(
19+ [31]=' --with-openssl-dir=/usr'
20+ [32]=' --with-openssl-dir=/usr'
21+ [default]=' --with-ftp-ssl'
1422)
1523
1624declare -A cmd=(
@@ -105,6 +113,7 @@ function create_variant() {
105113 dir=" $1 /$variant "
106114 alpineVersion=${alpine_version[$version]-${alpine_version[default]} }
107115 debianVersion=${debian_version[$version]-${debian_version[default]} }
116+ ftp_options=${ftp_options[$version]-${ftp_options[default]} }
108117 phpVersion=${php_version[$version]-${php_version[default]} }
109118 crontabInt=${crontab_int[$version]-${crontab_int[default]} }
110119 url=" https://github.com/nextcloud-releases/server/releases/download/v$fullversion /nextcloud-$fullversion .tar.bz2"
@@ -131,6 +140,7 @@ function create_variant() {
131140 s/%%CMD%%/' " ${cmd[$variant]} " ' /g;
132141 s|%%VARIANT_EXTRAS%%|' " ${extras[$variant]} " ' |g;
133142 s/%%APCU_VERSION%%/' " ${pecl_versions[APCu]} " ' /g;
143+ s|%%FTP_OPTIONS%%|' " $ftp_options " ' |g;
134144 s/%%IGBINARY_VERSION%%/' " ${pecl_versions[igbinary]} " ' /g;
135145 s/%%IMAGICK_VERSION%%/' " ${pecl_versions[imagick]} " ' /g;
136146 s/%%MEMCACHED_VERSION%%/' " ${pecl_versions[memcached]} " ' /g;
Original file line number Diff line number Diff line change 99 "variant" : " apache" ,
1010 "base" : " debian" ,
1111 "baseVersion" : " trixie" ,
12- "phpVersion" : " 8.3 "
12+ "phpVersion" : " 8.4 "
1313 },
1414 "fpm" : {
1515 "variant" : " fpm" ,
1616 "base" : " debian" ,
1717 "baseVersion" : " trixie" ,
18- "phpVersion" : " 8.3 "
18+ "phpVersion" : " 8.4 "
1919 },
2020 "fpm-alpine" : {
2121 "variant" : " fpm-alpine" ,
2222 "base" : " alpine" ,
2323 "baseVersion" : " 3.23" ,
24- "phpVersion" : " 8.3 "
24+ "phpVersion" : " 8.4 "
2525 }
2626 }
2727 },
You can’t perform that action at this time.
0 commit comments