Skip to content

Commit 396c887

Browse files
committed
Initial commit, issue-8
1 parent ff4e4f3 commit 396c887

File tree

8 files changed

+115
-2
lines changed

8 files changed

+115
-2
lines changed

README.md

Lines changed: 10 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -32,7 +32,15 @@ Supported tags:
3232
* mobtitude/php-xdebug:7.2-apache
3333
* mobtitude/php-xdebug:7.2-cli
3434
* mobtitude/php-xdebug:7.2-fpm
35-
35+
* mobtitude/php-xdebug:8.1-apache
36+
* mobtitude/php-xdebug:8.1-cli
37+
* mobtitude/php-xdebug:8.1-fpm
38+
* mobtitude/php-xdebug:8.2-apache
39+
* mobtitude/php-xdebug:8.2-cli
40+
* mobtitude/php-xdebug:8.2-fpm
41+
* mobtitude/php-xdebug:8.3-apache
42+
* mobtitude/php-xdebug:8.3-cli
43+
* mobtitude/php-xdebug:8.3-fpm
3644

3745
Build from source
3846
-------------------
@@ -84,4 +92,4 @@ FAQ
8492
Q: Why images don't have specific PHP version like `7.2.2` but only major and minor version `7.2`?
8593

8694
A: It is because images in this repo have always the newest possible patch version of PHP based on official Docker PHP images.
87-
For example for `mobtitude/php-xdebug:7.2-apache` you can expect that it is always the newest PHP version available in official Docker Registry and it is automatically updated when official PHP Docker images are updated. The newest possible PHP version at the time of writing is 7.2.2, but will be automatically updated to 7.2.3 when official PHP Docker images are updated.
95+
For example for `mobtitude/php-xdebug:7.2-apache` you can expect that it is always the newest PHP version available in official Docker Registry and it is automatically updated when official PHP Docker images are updated. The newest possible PHP version at the time of writing is 7.2.2, but will be automatically updated to 7.2.3 when official PHP Docker images are updated.

bin/generate.sh

Lines changed: 9 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,11 @@
66

77
# PHP Versions that will be generated
88
#php_versions=( "8.0" "7.4" "7.2" "7.1" "7.0" "5.6")
9+
<<<<<<< Updated upstream
910
php_versions=( "8.1" "8.0" "7.4" "7.2" )
11+
=======
12+
php_versions=( "8.3" "8.2" "8.1" "8.0" "7.4" "7.2" )
13+
>>>>>>> Stashed changes
1014

1115
# PHP variants that will be generated for each PHP version
1216
# final source image will be generated as follow: php:7.2-cli, php:7-2-apache and php:7.2-fpm
@@ -16,6 +20,11 @@ php_docker_suffix=( "cli" "apache" "fpm" )
1620
# PHP_VERSION => XDEBUG_VERSION
1721
declare -A xdebug_versions
1822
xdebug_versions=(
23+
<<<<<<< Updated upstream
24+
=======
25+
["8.3"]="xdebug-3.3.1"
26+
["8.2"]="xdebug-3.3.1"
27+
>>>>>>> Stashed changes
1928
["8.1"]="xdebug-3.1.3"
2029
["8.0"]="xdebug-3.1.3"
2130
["7.4"]="xdebug-2.9.1"

build/8.3-apache/Dockerfile

Lines changed: 19 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,19 @@
1+
FROM php:8.3-apache
2+
MAINTAINER 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.3.1 \
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

build/8.3-apache/xdebug.ini

Lines changed: 13 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,13 @@
1+
[xdebug]
2+
zend_extension=xdebug.so
3+
4+
xdebug.cli_color=1
5+
xdebug.mode=debug
6+
xdebug.start_with_request=trigger
7+
xdebug.trigger_value=StartXDebug
8+
9+
xdebug.output_dir="/tmp"
10+
xdebug.profiler_output_name="cachegrind.out.%H.%t.%p"
11+
12+
xdebug.discover_client_host=true
13+
xdebug.client_port=9003

build/8.3-cli/Dockerfile

Lines changed: 19 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,19 @@
1+
FROM php:8.3-cli
2+
MAINTAINER 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.3.1 \
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

build/8.3-cli/xdebug.ini

Lines changed: 13 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,13 @@
1+
[xdebug]
2+
zend_extension=xdebug.so
3+
4+
xdebug.cli_color=1
5+
xdebug.mode=debug
6+
xdebug.start_with_request=trigger
7+
xdebug.trigger_value=StartXDebug
8+
9+
xdebug.output_dir="/tmp"
10+
xdebug.profiler_output_name="cachegrind.out.%H.%t.%p"
11+
12+
xdebug.discover_client_host=true
13+
xdebug.client_port=9003

build/8.3-fpm/Dockerfile

Lines changed: 19 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,19 @@
1+
FROM php:8.3-fpm
2+
MAINTAINER 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.3.1 \
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

build/8.3-fpm/xdebug.ini

Lines changed: 13 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,13 @@
1+
[xdebug]
2+
zend_extension=xdebug.so
3+
4+
xdebug.cli_color=1
5+
xdebug.mode=debug
6+
xdebug.start_with_request=trigger
7+
xdebug.trigger_value=StartXDebug
8+
9+
xdebug.output_dir="/tmp"
10+
xdebug.profiler_output_name="cachegrind.out.%H.%t.%p"
11+
12+
xdebug.discover_client_host=true
13+
xdebug.client_port=9003

0 commit comments

Comments
 (0)