This commit is contained in:
2025-09-16 11:45:11 +02:00
parent 9ab99a1f49
commit 4a47ed82d9
2 changed files with 18 additions and 7 deletions

11
.project Normal file
View File

@@ -0,0 +1,11 @@
<?xml version="1.0" encoding="UTF-8"?>
<projectDescription>
<name>docker-nginx-php</name>
<comment></comment>
<projects>
</projects>
<buildSpec>
</buildSpec>
<natures>
</natures>
</projectDescription>

View File

@@ -1,8 +1,8 @@
FROM webdevops/php-nginx:7.4
FROM webdevops/php-nginx:8.2
ADD bullseye.list /etc/apt/sources.list.d/bullseye.list
RUN sed -i 's@deb.*http://nginx.org/packages/debian/\ *nginx@@g' /etc/apt/sources.list
RUN sed -i 's@deb.*http://nginx.org/packages/debian/\ *nginx@@g' /etc/apt/sources.list.d/*list
#ADD bullseye.list /etc/apt/sources.list.d/bullseye.list
#RUN sed -i 's@deb.*http://nginx.org/packages/debian/\ *nginx@@g' /etc/apt/sources.list
#RUN sed -i 's@deb.*http://nginx.org/packages/debian/\ *nginx@@g' /etc/apt/sources.list.d/*list
RUN apt-get update
@@ -32,10 +32,10 @@ RUN apt-get install -y \
mariadb-client \
npm
RUN pecl install xdebug-3.1.6 \
RUN pecl install xdebug-3.4.5 \
&& docker-php-ext-enable xdebug
RUN pecl install apcu_bc \
&& docker-php-ext-enable apcu apc
#RUN pecl install apcu_bc \
# && docker-php-ext-enable apcu apc
RUN apt-get purge -y -f --force-yes \
libc-client-dev \