Skip to content

Commit 7604579

Browse files
authored
Merge pull request #557 from dbarzin/dev
update php
2 parents 9630a1b + 1f00a30 commit 7604579

File tree

1 file changed

+17
-15
lines changed

1 file changed

+17
-15
lines changed

Dockerfile

Lines changed: 17 additions & 15 deletions
Original file line numberDiff line numberDiff line change
@@ -1,23 +1,25 @@
1-
FROM nginx:bookworm
1+
FROM php:8.3-fpm-bookworm
22

3+
# Installer Nginx et dépendances
34
RUN apt update \
45
&& apt-get install -y --no-install-recommends \
5-
git=1:2.39.5-* \
6-
composer=2.5.5-* \
7-
php=2:8.2* \
8-
php-cli=2:8.2* \
9-
php-opcache \
10-
php-mysql=2:8.2* \
11-
php-pgsql=2:8.2* \
12-
php-zip=2:8.2* \
13-
php-gd=2:8.2* \
14-
php-mbstring=2:8.2* \
15-
php-curl=2:8.2* \
16-
php-xml=2:8.2* \
17-
php-ldap=2:8.2* \
6+
nginx \
7+
git \
188
mariadb-client \
199
cron \
20-
&& rm -rf /var/lib/apt/lists/*
10+
libzip-dev \
11+
libpng-dev \
12+
libldap2-dev \
13+
libpq-dev \
14+
&& docker-php-ext-install \
15+
pdo_mysql \
16+
pdo_pgsql \
17+
zip \
18+
gd \
19+
ldap \
20+
&& docker-php-ext-enable opcache \
21+
&& curl -sS https://getcomposer.org/installer | php -- --install-dir=/usr/local/bin --filename=composer \
22+
&& rm -rf /var/lib/apt/lists/*
2123

2224
RUN touch /etc/mailname
2325
RUN echo "sender@yourdomain.org" > /etc/mailname

0 commit comments

Comments
 (0)