-
Notifications
You must be signed in to change notification settings - Fork 71
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Showing
17 changed files
with
46 additions
and
72 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,26 +1,17 @@ | ||
FROM php:5.6-apache | ||
FROM php:7.4-apache | ||
|
||
RUN docker-php-ext-install mysqli pdo pdo_mysql | ||
RUN a2enmod rewrite | ||
|
||
# Because we using and old php version 5.6 some packages are not available and we should update source list or install directly | ||
RUN sed -i '/security.debian.org/d' /etc/apt/sources.list \ | ||
&& sed -i '/deb.debian.org/d' /etc/apt/sources.list | ||
|
||
RUN echo "deb http://archive.debian.org/debian/ stretch main" > /etc/apt/sources.list \ | ||
&& echo "deb http://archive.debian.org/debian-security stretch/updates main" >> /etc/apt/sources.list | ||
|
||
RUN apt-get update && apt-get install -y zlib1g-dev libicu-dev g++ wget git zip | ||
|
||
RUN wget --no-check-certificate https://pecl.php.net/get/xdebug-2.5.5.tgz \ | ||
&& pecl install --offline ./xdebug-2.5.5.tgz \ | ||
|
||
RUN pecl install xdebug-3.1.6 | ||
RUN docker-php-ext-configure intl | ||
RUN docker-php-ext-install intl | ||
|
||
RUN apt-get install -y gettext | ||
RUN docker-php-ext-install gettext | ||
|
||
COPY --from=composer:1 /usr/bin/composer /usr/local/bin/composer | ||
COPY --from=composer:2 /usr/bin/composer /usr/local/bin/composer | ||
|
||
RUN cp /usr/local/etc/php/php.ini-development /usr/local/etc/php/php.ini |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -16,7 +16,7 @@ services: | |
links: | ||
- web | ||
db: | ||
image: mysql:5 | ||
image: mariadb:10.3 | ||
ports: | ||
- 3306:3306 | ||
environment: | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,11 +1,6 @@ | ||
[xdebug] | ||
zend_extension = "xdebug.so" | ||
xdebug.remote_enable = 1 | ||
;xdebug.remote_log = /var/www/html/xdebug.log ;for debug if can not establish connect | ||
xdebug.remote_connect_back=0 | ||
xdebug.remote_host=host.docker.internal | ||
xdebug.remote_port = 9000 | ||
xdebug.remote_autostart = on | ||
xdebug.profiler_enable = off | ||
xdebug.profiler_enable_trigger = on | ||
xdebug.profiler_output_dir = /var/www/html | ||
zend_extension = xdebug.so | ||
xdebug.mode = debug,develop | ||
xdebug.client_host = host.docker.internal | ||
xdebug.client_port = 9003 | ||
xdebug.output_dir = /var/www/html |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters