File tree Expand file tree Collapse file tree 4 files changed +16
-16
lines changed Expand file tree Collapse file tree 4 files changed +16
-16
lines changed Original file line number Diff line number Diff line change 1- FROM phpswoole/swoole:5.1.3 -php8.3
1+ FROM phpswoole/swoole:6.0.2 -php8.4
22
33RUN docker-php-ext-install pcntl opcache bcmath > /dev/null
44
Original file line number Diff line number Diff line change 1- FROM ubuntu:22 .04
1+ FROM ubuntu:24 .04
22
33ARG DEBIAN_FRONTEND=noninteractive
44
55RUN apt-get update -yqq && apt-get install -yqq software-properties-common > /dev/null
66RUN LC_ALL=C.UTF-8 add-apt-repository ppa:ondrej/php
7- RUN apt-get update -yqq && apt-get install -yqq git unzip wget curl build-essential php8.3 -cli php8.3 -mbstring php8.3 -curl php8.3 -xml php8.3 -mysql > /dev/null
7+ RUN apt-get update -yqq && apt-get install -yqq git unzip wget curl build-essential php8.4 -cli php8.4 -mbstring php8.4 -curl php8.4 -xml php8.4 -mysql > /dev/null
88
9- RUN apt-get install -y php8.3 -dev libevent-dev > /dev/null
9+ RUN apt-get install -y php8.4 -dev libevent-dev > /dev/null
1010RUN wget http://pear.php.net/go-pear.phar --quiet && php go-pear.phar
11- RUN pecl install event-3.1.3 > /dev/null && echo "extension=event.so" > /etc/php/8.3 /cli/conf.d/event.ini
11+ RUN pecl install event-3.1.4 > /dev/null && echo "extension=event.so" > /etc/php/8.4 /cli/conf.d/event.ini
1212
13- COPY php-jit.ini /etc/php/8.3 /cli/php.ini
13+ COPY php-jit.ini /etc/php/8.4 /cli/php.ini
1414
1515ADD ./ /mixphp
1616WORKDIR /mixphp
Original file line number Diff line number Diff line change 1- FROM ubuntu:22 .04
1+ FROM ubuntu:24 .04
22
33ARG DEBIAN_FRONTEND=noninteractive
44
55RUN apt-get update -yqq && apt-get install -yqq software-properties-common > /dev/null
66RUN LC_ALL=C.UTF-8 add-apt-repository ppa:ondrej/php
7- RUN apt-get update -yqq && apt-get install -yqq git unzip wget curl build-essential php8.3 -cli php8.3 -mbstring php8.3 -curl php8.3 -xml php8.3 -pgsql > /dev/null
7+ RUN apt-get update -yqq && apt-get install -yqq git unzip wget curl build-essential php8.4 -cli php8.4 -mbstring php8.4 -curl php8.4 -xml php8.4 -pgsql > /dev/null
88
9- RUN apt-get install -y php8.3 -dev libevent-dev > /dev/null
9+ RUN apt-get install -y php8.4 -dev libevent-dev > /dev/null
1010RUN wget http://pear.php.net/go-pear.phar --quiet && php go-pear.phar
11- RUN pecl install event-3.1.3 > /dev/null && echo "extension=event.so" > /etc/php/8.3 /cli/conf.d/event.ini
11+ RUN pecl install event-3.1.4 > /dev/null && echo "extension=event.so" > /etc/php/8.4 /cli/conf.d/event.ini
1212
13- COPY php-jit.ini /etc/php/8.3 /cli/php.ini
13+ COPY php-jit.ini /etc/php/8.4 /cli/php.ini
1414
1515ADD ./ /mixphp
1616WORKDIR /mixphp
Original file line number Diff line number Diff line change 1- FROM ubuntu:22 .04
1+ FROM ubuntu:24 .04
22
33ARG DEBIAN_FRONTEND=noninteractive
44
55RUN apt-get update -yqq && apt-get install -yqq software-properties-common > /dev/null
66RUN LC_ALL=C.UTF-8 add-apt-repository ppa:ondrej/php
7- RUN apt-get update -yqq && apt-get install -yqq git unzip wget curl build-essential nginx php8.3 -fpm php8.3 -mysql php8.3 -dev > /dev/null
7+ RUN apt-get update -yqq && apt-get install -yqq git unzip wget curl build-essential nginx php8.4 -fpm php8.4 -mysql php8.4 -dev > /dev/null
88
9- COPY deploy/conf/* /etc/php/8.3 /fpm/
9+ COPY deploy/conf/* /etc/php/8.4 /fpm/
1010
11- RUN if [ $(nproc) = 2 ]; then sed -i "s|pm.max_children = 1024|pm.max_children = 512|g" /etc/php/8.3 /fpm/php-fpm.conf ; fi;
11+ 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;
1212
1313ADD ./ /mixphp
1414WORKDIR /mixphp
@@ -22,5 +22,5 @@ RUN chmod -R 777 /mixphp/runtime/logs
2222
2323EXPOSE 8080
2424
25- CMD service php8.3 -fpm start && \
25+ CMD service php8.4 -fpm start && \
2626 nginx -c /mixphp/deploy/nginx.conf
You can’t perform that action at this time.
0 commit comments