Skip to content

Commit dbe23a6

Browse files
authored
[php] Nette update to PHP 8.5 (#10314)
1 parent 48dfc63 commit dbe23a6

File tree

1 file changed

+4
-4
lines changed

1 file changed

+4
-4
lines changed

frameworks/PHP/nette/nette.dockerfile

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -5,9 +5,9 @@ ARG DEBIAN_FRONTEND=noninteractive
55
RUN apt-get update -yqq && apt-get install -yqq software-properties-common > /dev/null
66
RUN LC_ALL=C.UTF-8 add-apt-repository ppa:ondrej/php
77
RUN apt-get install -yqq nginx git unzip \
8-
php8.4-fpm php8.4-mysql php8.4-xml php8.4-mbstring php8.4-intl php8.4-dev php8.4-curl > /dev/null
8+
php8.5-fpm php8.5-mysql php8.5-xml php8.5-mbstring php8.5-intl php8.5-dev php8.5-curl > /dev/null
99

10-
COPY deploy/conf/* /etc/php/8.4/fpm/
10+
COPY deploy/conf/* /etc/php/8.5/fpm/
1111

1212
WORKDIR /nette
1313
COPY --link . .
@@ -17,11 +17,11 @@ COPY --from=composer:latest /usr/bin/composer /usr/local/bin/composer
1717

1818
RUN composer install --optimize-autoloader --classmap-authoritative --no-dev --quiet
1919

20-
RUN if [ $(nproc) = 2 ]; then sed -i "s|pm.max_children = 1024|pm.max_children = 512|g" /etc/php/8.4/fpm/php-fpm.conf ; fi;
20+
RUN if [ $(nproc) = 2 ]; then sed -i "s|pm.max_children = 1024|pm.max_children = 512|g" /etc/php/8.5/fpm/php-fpm.conf ; fi;
2121

2222
RUN chmod -R 777 /nette
2323

2424
EXPOSE 8080
2525

26-
CMD service php8.4-fpm start && \
26+
CMD service php8.5-fpm start && \
2727
nginx -c /nette/deploy/nginx.conf 2>&1 > /dev/stderr

0 commit comments

Comments
 (0)