File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree File renamed without changes.
Original file line number Diff line number Diff line change 1+ FROM php:8.5-fpm
2+
3+ RUN apt-get update
4+ RUN apt-get --yes --no-install-recommends install \
5+ apt-utils \
6+ curl \
7+ git \
8+ vim
9+
10+ ADD --chmod=0755 https://github.com/mlocati/docker-php-extension-installer/releases/latest/download/install-php-extensions /usr/local/bin/
11+
12+ RUN install-php-extensions \
13+ bcmath \
14+ exif \
15+ gd \
16+ intl \
17+ mysqli \
18+ opcache \
19+ pdo \
20+ pdo_mysql \
21+ sockets \
22+ xdebug-^3.5 \
23+ zip \
24+ @composer
25+
26+ COPY build/php/opcache.ini /usr/local/etc/php/conf.d/
27+ COPY build/php/custom.ini /usr/local/etc/php/conf.d/
28+
29+
30+ RUN php --version
31+
32+ RUN composer --version
33+
34+ RUN usermod -u 1000 www-data
35+ RUN usermod -a -G www-data root
36+ RUN mkdir -p /var/www/.composer
37+ RUN chown -R www-data:www-data /var/www
38+
39+ WORKDIR /var/www/project/
Original file line number Diff line number Diff line change @@ -2,7 +2,7 @@ services:
22 php :
33 build : # Info to build the Docker image
44 context : ./.docker # Specify where the Dockerfile is located (e.g. in the root directory of the project)
5- dockerfile : PHP -Dockerfile # Specify the name of the Dockerfile
5+ dockerfile : PHP85 -Dockerfile # Specify the name of the Dockerfile
66 ports :
77 - 8111:80
88 depends_on :
Original file line number Diff line number Diff line change 77 beStrictAboutCoverageMetadata =" false"
88 beStrictAboutOutputDuringTests =" true"
99 displayDetailsOnIncompleteTests =" true"
10- displayDetailsOnPhpunitDeprecations =" true"
1110 displayDetailsOnSkippedTests =" true"
1211 displayDetailsOnTestsThatTriggerDeprecations =" true"
12+ displayDetailsOnPhpunitDeprecations =" true"
1313 displayDetailsOnTestsThatTriggerErrors =" true"
1414 displayDetailsOnTestsThatTriggerNotices =" true"
1515 displayDetailsOnTestsThatTriggerWarnings =" true"
You can’t perform that action at this time.
0 commit comments