Skip to content

Commit 9f6fe59

Browse files
authored
Add phpdbg package and alias to all PHP versions (#22)
1 parent 8d03bdb commit 9f6fe59

File tree

24 files changed

+48
-0
lines changed

24 files changed

+48
-0
lines changed

5.6-fpm/Dockerfile

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -30,6 +30,7 @@ RUN apt update && apt dist-upgrade -y && \
3030
php5.6-cgi \
3131
php5.6-cli \
3232
php5.6-ctype \
33+
php5.6-phpdbg \
3334
php5.6-curl \
3435
php5.6-fpm \
3536
php5.6-geoip \
@@ -55,6 +56,7 @@ RUN apt update && apt dist-upgrade -y && \
5556
# COMPOSER #################################################################
5657
curl -sS https://getcomposer.org/installer | php -- --install-dir=/usr/local/bin --filename=composer --2 && \
5758
# PHP MOD(s) ###############################################################
59+
ln -s /usr/bin/phpdbg5.6 /usr/bin/phpdbg && \
5860
ln -s ${PHP_MODS_DIR}/custom.ini ${PHP_CLI_CONF_DIR}/999-custom.ini && \
5961
ln -s ${PHP_MODS_DIR}/custom.ini ${PHP_CGI_CONF_DIR}/999-custom.ini && \
6062
ln -s ${PHP_MODS_DIR}/custom.ini ${PHP_FPM_CONF_DIR}/999-custom.ini && \

5.6/Dockerfile

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -27,6 +27,7 @@ RUN apt update && apt dist-upgrade -y && \
2727
php5.6-cgi \
2828
php5.6-cli \
2929
php5.6-ctype \
30+
php5.6-phpdbg \
3031
php5.6-curl \
3132
php5.6-geoip \
3233
php5.6-gettext \
@@ -51,6 +52,7 @@ RUN apt update && apt dist-upgrade -y && \
5152
# COMPOSER #################################################################
5253
curl -sS https://getcomposer.org/installer | php -- --install-dir=/usr/local/bin --filename=composer --2 && \
5354
# PHP MOD(s) ###############################################################
55+
ln -s /usr/bin/phpdbg5.6 /usr/bin/phpdbg && \
5456
ln -s ${PHP_MODS_DIR}/custom.ini ${PHP_CLI_CONF_DIR}/999-custom.ini && \
5557
ln -s ${PHP_MODS_DIR}/custom.ini ${PHP_CGI_CONF_DIR}/999-custom.ini && \
5658
# CLEAN UP #################################################################

7.0-fpm/Dockerfile

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -30,6 +30,7 @@ RUN apt update && apt dist-upgrade -y && \
3030
php7.0-cgi \
3131
php7.0-cli \
3232
php7.0-ctype \
33+
php7.0-phpdbg \
3334
php7.0-curl \
3435
php7.0-fpm \
3536
php7.0-geoip \
@@ -55,6 +56,7 @@ RUN apt update && apt dist-upgrade -y && \
5556
# COMPOSER #################################################################
5657
curl -sS https://getcomposer.org/installer | php -- --install-dir=/usr/local/bin --filename=composer --2 && \
5758
# PHP MOD(s) ###############################################################
59+
ln -s /usr/bin/phpdbg7.0 /usr/bin/phpdbg && \
5860
ln -s ${PHP_MODS_DIR}/custom.ini ${PHP_CLI_CONF_DIR}/999-custom.ini && \
5961
ln -s ${PHP_MODS_DIR}/custom.ini ${PHP_CGI_CONF_DIR}/999-custom.ini && \
6062
ln -s ${PHP_MODS_DIR}/custom.ini ${PHP_FPM_CONF_DIR}/999-custom.ini && \

7.0/Dockerfile

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -27,6 +27,7 @@ RUN apt update && apt dist-upgrade -y && \
2727
php7.0-cgi \
2828
php7.0-cli \
2929
php7.0-ctype \
30+
php7.0-phpdbg \
3031
php7.0-curl \
3132
php7.0-geoip \
3233
php7.0-gettext \
@@ -51,6 +52,7 @@ RUN apt update && apt dist-upgrade -y && \
5152
# COMPOSER #################################################################
5253
curl -sS https://getcomposer.org/installer | php -- --install-dir=/usr/local/bin --filename=composer --2 && \
5354
# PHP MOD(s) ###############################################################
55+
ln -s /usr/bin/phpdbg7.0 /usr/bin/phpdbg && \
5456
ln -s ${PHP_MODS_DIR}/custom.ini ${PHP_CLI_CONF_DIR}/999-custom.ini && \
5557
ln -s ${PHP_MODS_DIR}/custom.ini ${PHP_CGI_CONF_DIR}/999-custom.ini && \
5658
# CLEAN UP #################################################################

7.1-fpm/Dockerfile

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -30,6 +30,7 @@ RUN apt update && apt dist-upgrade -y && \
3030
php7.1-cgi \
3131
php7.1-cli \
3232
php7.1-ctype \
33+
php7.1-phpdbg \
3334
php7.1-curl \
3435
php7.1-fpm \
3536
php7.1-geoip \
@@ -55,6 +56,7 @@ RUN apt update && apt dist-upgrade -y && \
5556
# COMPOSER #################################################################
5657
curl -sS https://getcomposer.org/installer | php -- --install-dir=/usr/local/bin --filename=composer --2 && \
5758
# PHP MOD(s) ###############################################################
59+
ln -s /usr/bin/phpdbg7.1 /usr/bin/phpdbg && \
5860
ln -s ${PHP_MODS_DIR}/custom.ini ${PHP_CLI_CONF_DIR}/999-custom.ini && \
5961
ln -s ${PHP_MODS_DIR}/custom.ini ${PHP_CGI_CONF_DIR}/999-custom.ini && \
6062
ln -s ${PHP_MODS_DIR}/custom.ini ${PHP_FPM_CONF_DIR}/999-custom.ini && \

7.1/Dockerfile

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -27,6 +27,7 @@ RUN apt update && apt dist-upgrade -y && \
2727
php7.1-cgi \
2828
php7.1-cli \
2929
php7.1-ctype \
30+
php7.1-phpdbg \
3031
php7.1-curl \
3132
php7.1-geoip \
3233
php7.1-gettext \
@@ -51,6 +52,7 @@ RUN apt update && apt dist-upgrade -y && \
5152
# COMPOSER #################################################################
5253
curl -sS https://getcomposer.org/installer | php -- --install-dir=/usr/local/bin --filename=composer --2 && \
5354
# PHP MOD(s) ###############################################################
55+
ln -s /usr/bin/phpdbg7.1 /usr/bin/phpdbg && \
5456
ln -s ${PHP_MODS_DIR}/custom.ini ${PHP_CLI_CONF_DIR}/999-custom.ini && \
5557
ln -s ${PHP_MODS_DIR}/custom.ini ${PHP_CGI_CONF_DIR}/999-custom.ini && \
5658
# CLEAN UP #################################################################

7.2-fpm/Dockerfile

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -30,6 +30,7 @@ RUN apt update && apt dist-upgrade -y && \
3030
php7.2-cgi \
3131
php7.2-cli \
3232
php7.2-ctype \
33+
php7.2-phpdbg \
3334
php7.2-curl \
3435
php7.2-fpm \
3536
php7.2-geoip \
@@ -53,6 +54,7 @@ RUN apt update && apt dist-upgrade -y && \
5354
# COMPOSER #################################################################
5455
curl -sS https://getcomposer.org/installer | php -- --install-dir=/usr/local/bin --filename=composer --2 && \
5556
# PHP MOD(s) ###############################################################
57+
ln -s /usr/bin/phpdbg7.2 /usr/bin/phpdbg && \
5658
ln -s ${PHP_MODS_DIR}/custom.ini ${PHP_CLI_CONF_DIR}/999-custom.ini && \
5759
ln -s ${PHP_MODS_DIR}/custom.ini ${PHP_CGI_CONF_DIR}/999-custom.ini && \
5860
ln -s ${PHP_MODS_DIR}/custom.ini ${PHP_FPM_CONF_DIR}/999-custom.ini && \

7.2/Dockerfile

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -27,6 +27,7 @@ RUN apt update && apt dist-upgrade -y && \
2727
php7.2-cgi \
2828
php7.2-cli \
2929
php7.2-ctype \
30+
php7.2-phpdbg \
3031
php7.2-curl \
3132
php7.2-geoip \
3233
php7.2-gettext \
@@ -49,6 +50,7 @@ RUN apt update && apt dist-upgrade -y && \
4950
# COMPOSER #################################################################
5051
curl -sS https://getcomposer.org/installer | php -- --install-dir=/usr/local/bin --filename=composer --2 && \
5152
# PHP MOD(s) ###############################################################
53+
ln -s /usr/bin/phpdbg7.2 /usr/bin/phpdbg && \
5254
ln -s ${PHP_MODS_DIR}/custom.ini ${PHP_CLI_CONF_DIR}/999-custom.ini && \
5355
ln -s ${PHP_MODS_DIR}/custom.ini ${PHP_CGI_CONF_DIR}/999-custom.ini && \
5456
# CLEAN UP #################################################################

7.3-fpm/Dockerfile

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -30,6 +30,7 @@ RUN apt update && apt dist-upgrade -y && \
3030
php7.3-cgi \
3131
php7.3-cli \
3232
php7.3-ctype \
33+
php7.3-phpdbg \
3334
php7.3-curl \
3435
php7.3-fpm \
3536
php7.3-geoip \
@@ -52,6 +53,7 @@ RUN apt update && apt dist-upgrade -y && \
5253
# COMPOSER #################################################################
5354
curl -sS https://getcomposer.org/installer | php -- --install-dir=/usr/local/bin --filename=composer --2 && \
5455
# PHP MOD(s) ###############################################################
56+
ln -s /usr/bin/phpdbg7.3 /usr/bin/phpdbg && \
5557
ln -s ${PHP_MODS_DIR}/custom.ini ${PHP_CLI_CONF_DIR}/999-custom.ini && \
5658
ln -s ${PHP_MODS_DIR}/custom.ini ${PHP_CGI_CONF_DIR}/999-custom.ini && \
5759
ln -s ${PHP_MODS_DIR}/custom.ini ${PHP_FPM_CONF_DIR}/999-custom.ini && \

7.3/Dockerfile

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -27,6 +27,7 @@ RUN apt update && apt dist-upgrade -y && \
2727
php7.3-cgi \
2828
php7.3-cli \
2929
php7.3-ctype \
30+
php7.3-phpdbg \
3031
php7.3-curl \
3132
php7.3-geoip \
3233
php7.3-gettext \
@@ -48,6 +49,7 @@ RUN apt update && apt dist-upgrade -y && \
4849
# COMPOSER #################################################################
4950
curl -sS https://getcomposer.org/installer | php -- --install-dir=/usr/local/bin --filename=composer --2 && \
5051
# PHP MOD(s) ###############################################################
52+
ln -s /usr/bin/phpdbg7.3 /usr/bin/phpdbg && \
5153
ln -s ${PHP_MODS_DIR}/custom.ini ${PHP_CLI_CONF_DIR}/999-custom.ini && \
5254
ln -s ${PHP_MODS_DIR}/custom.ini ${PHP_CGI_CONF_DIR}/999-custom.ini && \
5355
# CLEAN UP #################################################################

0 commit comments

Comments
 (0)