Compare commits
1 Commits
| Author | SHA1 | Date | |
|---|---|---|---|
| 4a47ed82d9 |
11
.project
Normal file
11
.project
Normal 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>
|
||||
14
Dockerfile
14
Dockerfile
@@ -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 \
|
||||
|
||||
Reference in New Issue
Block a user