|
@@ -10,16 +10,16 @@ RUN LC_ALL=C.UTF-8 add-apt-repository ppa:ondrej/php > /dev/null && \
|
|
RUN apt-get update -yqq > /dev/null && \
|
|
RUN apt-get update -yqq > /dev/null && \
|
|
apt-get install -yqq wget git libxml2-dev systemtap-sdt-dev \
|
|
apt-get install -yqq wget git libxml2-dev systemtap-sdt-dev \
|
|
zlib1g-dev libpcre3-dev libargon2-dev libsodium-dev libkrb5-dev \
|
|
zlib1g-dev libpcre3-dev libargon2-dev libsodium-dev libkrb5-dev \
|
|
- php8.3-cli php8.3-dev libphp8.3-embed php8.3-mysql > /dev/null
|
|
|
|
|
|
+ php8.4-cli php8.4-dev libphp8.4-embed php8.4-mysql > /dev/null
|
|
|
|
|
|
-ENV NGINX_VERSION 1.26.0
|
|
|
|
|
|
+ENV NGINX_VERSION 1.27.3
|
|
|
|
|
|
-RUN git clone -b v0.0.29 --single-branch --depth 1 https://github.com/rryqszq4/ngx-php.git > /dev/null
|
|
|
|
|
|
+RUN git clone -b v0.0.30 --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 && \
|
|
RUN wget -q http://nginx.org/download/nginx-${NGINX_VERSION}.tar.gz && \
|
|
tar -zxf nginx-${NGINX_VERSION}.tar.gz && \
|
|
tar -zxf nginx-${NGINX_VERSION}.tar.gz && \
|
|
cd nginx-${NGINX_VERSION} && \
|
|
cd nginx-${NGINX_VERSION} && \
|
|
- export PHP_LIB=/usr/lib && \
|
|
|
|
|
|
+ export PHP_LIB=/usr/lib && \
|
|
./configure --user=www --group=www \
|
|
./configure --user=www --group=www \
|
|
--prefix=/nginx \
|
|
--prefix=/nginx \
|
|
--with-ld-opt="-Wl,-rpath,$PHP_LIB" \
|
|
--with-ld-opt="-Wl,-rpath,$PHP_LIB" \
|
|
@@ -27,10 +27,10 @@ RUN wget -q http://nginx.org/download/nginx-${NGINX_VERSION}.tar.gz && \
|
|
--add-module=/ngx-php > /dev/null && \
|
|
--add-module=/ngx-php > /dev/null && \
|
|
make > /dev/null && make install > /dev/null
|
|
make > /dev/null && make install > /dev/null
|
|
|
|
|
|
-RUN sed -i "s|opcache.jit=off|;opcache.jit=off|g" /etc/php/8.3/embed/conf.d/10-opcache.ini
|
|
|
|
|
|
+RUN sed -i "s|opcache.jit=off|;opcache.jit=off|g" /etc/php/8.4/embed/conf.d/10-opcache.ini
|
|
|
|
|
|
COPY --link . .
|
|
COPY --link . .
|
|
|
|
|
|
EXPOSE 8080
|
|
EXPOSE 8080
|
|
|
|
|
|
-CMD /nginx/sbin/nginx -c /deploy/nginx_default.conf
|
|
|
|
|
|
+CMD /nginx/sbin/nginx -c /deploy/nginx_default.conf
|