|
@@ -1,4 +1,4 @@
|
|
|
-FROM ubuntu:20.04
|
|
|
+FROM ubuntu:22.04
|
|
|
|
|
|
ARG DEBIAN_FRONTEND=noninteractive
|
|
|
|
|
@@ -10,12 +10,12 @@ RUN LC_ALL=C.UTF-8 add-apt-repository ppa:ondrej/php > /dev/null && \
|
|
|
RUN apt-get update -yqq > /dev/null && \
|
|
|
apt-get install -yqq wget git libxml2-dev systemtap-sdt-dev \
|
|
|
zlib1g-dev libpcre3-dev libargon2-0-dev libsodium-dev \
|
|
|
- php8.2-cli php8.2-dev libphp8.2-embed php8.2-pgsql > /dev/null
|
|
|
+ php8.3-cli php8.3-dev libphp8.3-embed php8.3-pgsql > /dev/null
|
|
|
ADD . .
|
|
|
|
|
|
-ENV NGINX_VERSION 1.24.0
|
|
|
+ENV NGINX_VERSION 1.25.3
|
|
|
|
|
|
-RUN git clone -b v0.0.27 --single-branch --depth 1 https://github.com/rryqszq4/ngx-php.git > /dev/null
|
|
|
+RUN git clone -b v0.0.28 --single-branch --depth 1 https://github.com/rryqszq4/ngx-php.git > /dev/null
|
|
|
|
|
|
RUN wget -q http://nginx.org/download/nginx-${NGINX_VERSION}.tar.gz && \
|
|
|
tar -zxf nginx-${NGINX_VERSION}.tar.gz && \
|
|
@@ -32,7 +32,7 @@ RUN sed -i "s|app.php|app-pg.php|g" /deploy/nginx.conf
|
|
|
|
|
|
RUN export WORKERS=$(( 4 * $(nproc) )) && \
|
|
|
sed -i "s|worker_processes auto|worker_processes $WORKERS|g" /deploy/nginx.conf
|
|
|
-RUN sed -i "s|opcache.jit=off|opcache.jit=function|g" /etc/php/8.2/embed/conf.d/10-opcache.ini
|
|
|
+RUN sed -i "s|opcache.jit=off|opcache.jit=function|g" /etc/php/8.3/embed/conf.d/10-opcache.ini
|
|
|
EXPOSE 8080
|
|
|
|
|
|
CMD /nginx/sbin/nginx -c /deploy/nginx.conf
|