File tree Expand file tree Collapse file tree 7 files changed +101
-1
lines changed
Expand file tree Collapse file tree 7 files changed +101
-1
lines changed Original file line number Diff line number Diff line change 55#
66
77# PHP Versions that will be generated
8- php_versions=( " 8.3" " 8.2" " 8.1" )
8+ php_versions=( " 8.4 " " 8. 3" " 8.2" " 8.1" )
99
1010# PHP variants that will be generated for each PHP version
1111# final source image will be generated as follow: php:7.2-cli, php:7-2-apache and php:7.2-fpm
@@ -15,6 +15,7 @@ php_docker_suffix=( "cli" "apache" "fpm" )
1515# PHP_VERSION => XDEBUG_VERSION
1616declare -A xdebug_versions
1717xdebug_versions=(
18+ [" 8.4" ]=" xdebug-3.4.5"
1819 [" 8.3" ]=" xdebug-3.3.1"
1920 [" 8.2" ]=" xdebug-3.3.1"
2021 [" 8.1" ]=" xdebug-3.1.3"
Original file line number Diff line number Diff line change 1+ FROM php:8.4-apache
2+ LABEL org.opencontainers.image.authors="Przemek Szalko <przemek@mobtitude.com>"
3+
4+ # php intl extension
5+ RUN apt-get update \
6+ && apt-get install -y libicu-dev \
7+ && docker-php-ext-install intl \
8+ && docker-php-ext-install pdo_mysql \
9+ && docker-php-source delete \
10+ && apt-get remove -y libicu-dev \
11+ && apt-get autoremove -y \
12+ && apt-get clean \
13+ && rm -rf /var/lib/apt/lists/*
14+
15+ RUN pecl channel-update pecl.php.net \
16+ && pecl install xdebug-3.4.5 \
17+ && curl -sS https://getcomposer.org/installer | php -- --install-dir=/usr/local/bin --filename=composer
18+
19+ COPY xdebug.ini /usr/local/etc/php/conf.d/xdebug.ini
Original file line number Diff line number Diff line change 1+ [xdebug]
2+ zend_extension =xdebug.so
3+
4+ xdebug.cli_color =0
5+ xdebug.show_local_vars =1
6+ xdebug.start_with_request =trigger
7+
8+ xdebug.output_dir =" /tmp"
9+ xdebug.profiler_output_name =" cachegrind.out.%H.%t.%p"
10+
11+ xdebug.mode =develop,debug
12+ xdebug.discover_client_host =1
13+ xdebug.client_port =9000
14+
Original file line number Diff line number Diff line change 1+ FROM php:8.4-cli
2+ LABEL org.opencontainers.image.authors="Przemek Szalko <przemek@mobtitude.com>"
3+
4+ # php intl extension
5+ RUN apt-get update \
6+ && apt-get install -y libicu-dev \
7+ && docker-php-ext-install intl \
8+ && docker-php-ext-install pdo_mysql \
9+ && docker-php-source delete \
10+ && apt-get remove -y libicu-dev \
11+ && apt-get autoremove -y \
12+ && apt-get clean \
13+ && rm -rf /var/lib/apt/lists/*
14+
15+ RUN pecl channel-update pecl.php.net \
16+ && pecl install xdebug-3.4.5 \
17+ && curl -sS https://getcomposer.org/installer | php -- --install-dir=/usr/local/bin --filename=composer
18+
19+ COPY xdebug.ini /usr/local/etc/php/conf.d/xdebug.ini
Original file line number Diff line number Diff line change 1+ [xdebug]
2+ zend_extension =xdebug.so
3+
4+ xdebug.cli_color =0
5+ xdebug.show_local_vars =1
6+ xdebug.start_with_request =trigger
7+
8+ xdebug.output_dir =" /tmp"
9+ xdebug.profiler_output_name =" cachegrind.out.%H.%t.%p"
10+
11+ xdebug.mode =develop,debug
12+ xdebug.discover_client_host =1
13+ xdebug.client_port =9000
14+
Original file line number Diff line number Diff line change 1+ FROM php:8.4-fpm
2+ LABEL org.opencontainers.image.authors="Przemek Szalko <przemek@mobtitude.com>"
3+
4+ # php intl extension
5+ RUN apt-get update \
6+ && apt-get install -y libicu-dev \
7+ && docker-php-ext-install intl \
8+ && docker-php-ext-install pdo_mysql \
9+ && docker-php-source delete \
10+ && apt-get remove -y libicu-dev \
11+ && apt-get autoremove -y \
12+ && apt-get clean \
13+ && rm -rf /var/lib/apt/lists/*
14+
15+ RUN pecl channel-update pecl.php.net \
16+ && pecl install xdebug-3.4.5 \
17+ && curl -sS https://getcomposer.org/installer | php -- --install-dir=/usr/local/bin --filename=composer
18+
19+ COPY xdebug.ini /usr/local/etc/php/conf.d/xdebug.ini
Original file line number Diff line number Diff line change 1+ [xdebug]
2+ zend_extension =xdebug.so
3+
4+ xdebug.cli_color =0
5+ xdebug.show_local_vars =1
6+ xdebug.start_with_request =trigger
7+
8+ xdebug.output_dir =" /tmp"
9+ xdebug.profiler_output_name =" cachegrind.out.%H.%t.%p"
10+
11+ xdebug.mode =develop,debug
12+ xdebug.discover_client_host =1
13+ xdebug.client_port =9000
14+
You can’t perform that action at this time.
0 commit comments