From a4fda323fb772044e9ca49a8e3b055db7cce4867 Mon Sep 17 00:00:00 2001 From: Erick Hitter <git-contrib@ethitter.com> Date: Sun, 12 Jun 2022 15:40:45 -0700 Subject: [PATCH] Test adding disabled Xdebug --- php/5.6/Dockerfile | 30 ++++++++++++++++++++++++++---- php/7.0/Dockerfile | 30 ++++++++++++++++++++++++++---- php/7.1/Dockerfile | 30 ++++++++++++++++++++++++++---- php/7.2/Dockerfile | 30 ++++++++++++++++++++++++++---- php/7.3/Dockerfile | 30 ++++++++++++++++++++++++++---- php/7.4/Dockerfile | 30 ++++++++++++++++++++++++++---- php/8.0/Dockerfile | 30 +++++++++++++++++++++++++----- php/8.1/Dockerfile | 30 ++++++++++++++++++++++++++---- 8 files changed, 207 insertions(+), 33 deletions(-) diff --git a/php/5.6/Dockerfile b/php/5.6/Dockerfile index 9e68606..960c1f7 100644 --- a/php/5.6/Dockerfile +++ b/php/5.6/Dockerfile @@ -4,14 +4,36 @@ LABEL maintainer="ethitter" LABEL version="1.0" RUN apt-get update \ - && apt-get -yqqf install lsb-release zip unzip rsync subversion git mysql-client libicu-dev libpng-dev libbz2-dev default-libmysqlclient-dev --fix-missing --no-install-recommends \ + && apt-get -yqqf install \ + lsb-release \ + zip \ + unzip \ + rsync \ + subversion \ + git \ + libicu-dev \ + libpng-dev \ + libbz2-dev \ + default-libmysqlclient-dev \ + libzip-dev \ + libonig-dev \ + --fix-missing \ + --no-install-recommends \ && apt-get clean \ && rm -rf /var/lib/apt/lists/* -RUN docker-php-ext-install mbstring mysqli intl gd zip bz2 +RUN docker-php-ext-install \ + mbstring \ + mysqli \ + intl \ + gd \ + zip \ + bz2 \ + && pecl install xdebug \ + && php -m SHELL ["/bin/bash", "-o", "pipefail", "-c"] -RUN curl -sS https://getcomposer.org/installer | php -- --install-dir=/usr/local/bin --filename=composer -RUN chmod +x /usr/local/bin/composer +RUN curl -sS https://getcomposer.org/installer | php -- --install-dir=/usr/local/bin --filename=composer \ + && chmod +x /usr/local/bin/composer ENV PATH=/root/.composer/vendor/bin:$HOME/.composer/vendor/bin:$PATH diff --git a/php/7.0/Dockerfile b/php/7.0/Dockerfile index 2bcb259..d4b7cf1 100644 --- a/php/7.0/Dockerfile +++ b/php/7.0/Dockerfile @@ -4,14 +4,36 @@ LABEL maintainer="ethitter" LABEL version="1.0" RUN apt-get update \ - && apt-get -yqqf install lsb-release zip unzip rsync subversion git mysql-client libicu-dev libpng-dev libbz2-dev default-libmysqlclient-dev --fix-missing --no-install-recommends \ + && apt-get -yqqf install \ + lsb-release \ + zip \ + unzip \ + rsync \ + subversion \ + git \ + libicu-dev \ + libpng-dev \ + libbz2-dev \ + default-libmysqlclient-dev \ + libzip-dev \ + libonig-dev \ + --fix-missing \ + --no-install-recommends \ && apt-get clean \ && rm -rf /var/lib/apt/lists/* -RUN docker-php-ext-install mbstring mysqli intl gd zip bz2 +RUN docker-php-ext-install \ + mbstring \ + mysqli \ + intl \ + gd \ + zip \ + bz2 \ + && pecl install xdebug \ + && php -m SHELL ["/bin/bash", "-o", "pipefail", "-c"] -RUN curl -sS https://getcomposer.org/installer | php -- --install-dir=/usr/local/bin --filename=composer -RUN chmod +x /usr/local/bin/composer +RUN curl -sS https://getcomposer.org/installer | php -- --install-dir=/usr/local/bin --filename=composer \ + && chmod +x /usr/local/bin/composer ENV PATH=/root/.composer/vendor/bin:$HOME/.composer/vendor/bin:$PATH diff --git a/php/7.1/Dockerfile b/php/7.1/Dockerfile index a7adfdd..bff6595 100644 --- a/php/7.1/Dockerfile +++ b/php/7.1/Dockerfile @@ -4,14 +4,36 @@ LABEL maintainer="ethitter" LABEL version="1.0" RUN apt-get update \ - && apt-get -yqqf install lsb-release zip unzip rsync subversion git libicu-dev libpng-dev libbz2-dev default-libmysqlclient-dev libzip-dev libonig-dev --fix-missing --no-install-recommends \ + && apt-get -yqqf install \ + lsb-release \ + zip \ + unzip \ + rsync \ + subversion \ + git \ + libicu-dev \ + libpng-dev \ + libbz2-dev \ + default-libmysqlclient-dev \ + libzip-dev \ + libonig-dev \ + --fix-missing \ + --no-install-recommends \ && apt-get clean \ && rm -rf /var/lib/apt/lists/* -RUN docker-php-ext-install mbstring mysqli intl gd zip bz2 +RUN docker-php-ext-install \ + mbstring \ + mysqli \ + intl \ + gd \ + zip \ + bz2 \ + && pecl install xdebug \ + && php -m SHELL ["/bin/bash", "-o", "pipefail", "-c"] -RUN curl -sS https://getcomposer.org/installer | php -- --install-dir=/usr/local/bin --filename=composer -RUN chmod +x /usr/local/bin/composer +RUN curl -sS https://getcomposer.org/installer | php -- --install-dir=/usr/local/bin --filename=composer \ + && chmod +x /usr/local/bin/composer ENV PATH=/root/.composer/vendor/bin:$HOME/.composer/vendor/bin:$PATH diff --git a/php/7.2/Dockerfile b/php/7.2/Dockerfile index 367831f..e24819f 100644 --- a/php/7.2/Dockerfile +++ b/php/7.2/Dockerfile @@ -4,14 +4,36 @@ LABEL maintainer="ethitter" LABEL version="1.0" RUN apt-get update \ - && apt-get -yqqf install lsb-release zip unzip rsync subversion git libicu-dev libpng-dev libbz2-dev default-libmysqlclient-dev libzip-dev libonig-dev --fix-missing --no-install-recommends \ + && apt-get -yqqf install \ + lsb-release \ + zip \ + unzip \ + rsync \ + subversion \ + git \ + libicu-dev \ + libpng-dev \ + libbz2-dev \ + default-libmysqlclient-dev \ + libzip-dev \ + libonig-dev \ + --fix-missing \ + --no-install-recommends \ && apt-get clean \ && rm -rf /var/lib/apt/lists/* -RUN docker-php-ext-install mbstring mysqli intl gd zip bz2 +RUN docker-php-ext-install \ + mbstring \ + mysqli \ + intl \ + gd \ + zip \ + bz2 \ + && pecl install xdebug \ + && php -m SHELL ["/bin/bash", "-o", "pipefail", "-c"] -RUN curl -sS https://getcomposer.org/installer | php -- --install-dir=/usr/local/bin --filename=composer -RUN chmod +x /usr/local/bin/composer +RUN curl -sS https://getcomposer.org/installer | php -- --install-dir=/usr/local/bin --filename=composer \ + && chmod +x /usr/local/bin/composer ENV PATH=/root/.composer/vendor/bin:$HOME/.composer/vendor/bin:$PATH diff --git a/php/7.3/Dockerfile b/php/7.3/Dockerfile index c486dae..bf96670 100644 --- a/php/7.3/Dockerfile +++ b/php/7.3/Dockerfile @@ -4,14 +4,36 @@ LABEL maintainer="ethitter" LABEL version="1.0" RUN apt-get update \ - && apt-get -yqqf install lsb-release zip unzip rsync subversion git libicu-dev libpng-dev libbz2-dev default-libmysqlclient-dev libzip-dev libonig-dev --fix-missing --no-install-recommends \ + && apt-get -yqqf install \ + lsb-release \ + zip \ + unzip \ + rsync \ + subversion \ + git \ + libicu-dev \ + libpng-dev \ + libbz2-dev \ + default-libmysqlclient-dev \ + libzip-dev \ + libonig-dev \ + --fix-missing \ + --no-install-recommends \ && apt-get clean \ && rm -rf /var/lib/apt/lists/* -RUN docker-php-ext-install mbstring mysqli intl gd zip bz2 +RUN docker-php-ext-install \ + mbstring \ + mysqli \ + intl \ + gd \ + zip \ + bz2 \ + && pecl install xdebug \ + && php -m SHELL ["/bin/bash", "-o", "pipefail", "-c"] -RUN curl -sS https://getcomposer.org/installer | php -- --install-dir=/usr/local/bin --filename=composer -RUN chmod +x /usr/local/bin/composer +RUN curl -sS https://getcomposer.org/installer | php -- --install-dir=/usr/local/bin --filename=composer \ + && chmod +x /usr/local/bin/composer ENV PATH=/root/.composer/vendor/bin:$HOME/.composer/vendor/bin:$PATH diff --git a/php/7.4/Dockerfile b/php/7.4/Dockerfile index 5f5ebcc..5b951ff 100644 --- a/php/7.4/Dockerfile +++ b/php/7.4/Dockerfile @@ -4,14 +4,36 @@ LABEL maintainer="ethitter" LABEL version="1.0" RUN apt-get update \ - && apt-get -yqqf install lsb-release zip unzip rsync subversion git libicu-dev libpng-dev libbz2-dev default-libmysqlclient-dev libzip-dev libonig-dev --fix-missing --no-install-recommends \ + && apt-get -yqqf install \ + lsb-release \ + zip \ + unzip \ + rsync \ + subversion \ + git \ + libicu-dev \ + libpng-dev \ + libbz2-dev \ + default-libmysqlclient-dev \ + libzip-dev \ + libonig-dev \ + --fix-missing \ + --no-install-recommends \ && apt-get clean \ && rm -rf /var/lib/apt/lists/* -RUN docker-php-ext-install mbstring mysqli intl gd zip bz2 +RUN docker-php-ext-install \ + mbstring \ + mysqli \ + intl \ + gd \ + zip \ + bz2 \ + && pecl install xdebug \ + && php -m SHELL ["/bin/bash", "-o", "pipefail", "-c"] -RUN curl -sS https://getcomposer.org/installer | php -- --install-dir=/usr/local/bin --filename=composer -RUN chmod +x /usr/local/bin/composer +RUN curl -sS https://getcomposer.org/installer | php -- --install-dir=/usr/local/bin --filename=composer \ + && chmod +x /usr/local/bin/composer ENV PATH=/root/.composer/vendor/bin:$HOME/.composer/vendor/bin:$PATH diff --git a/php/8.0/Dockerfile b/php/8.0/Dockerfile index 21cb03d..bb262cd 100644 --- a/php/8.0/Dockerfile +++ b/php/8.0/Dockerfile @@ -4,16 +4,36 @@ LABEL maintainer="ethitter" LABEL version="1.0" RUN apt-get update \ - && apt-get -yqqf install lsb-release zip unzip rsync subversion git libicu-dev libpng-dev libbz2-dev default-libmysqlclient-dev libzip-dev libonig-dev --fix-missing --no-install-recommends \ + && apt-get -yqqf install \ + lsb-release \ + zip \ + unzip \ + rsync \ + subversion \ + git \ + libicu-dev \ + libpng-dev \ + libbz2-dev \ + default-libmysqlclient-dev \ + libzip-dev \ + libonig-dev \ + --fix-missing \ + --no-install-recommends \ && apt-get clean \ && rm -rf /var/lib/apt/lists/* -RUN docker-php-ext-install mbstring mysqli intl gd zip bz2 \ +RUN docker-php-ext-install \ + mbstring \ + mysqli \ + intl \ + gd \ + zip \ + bz2 \ && pecl install xdebug \ - && php -i + && php -m SHELL ["/bin/bash", "-o", "pipefail", "-c"] -RUN curl -sS https://getcomposer.org/installer | php -- --install-dir=/usr/local/bin --filename=composer -RUN chmod +x /usr/local/bin/composer +RUN curl -sS https://getcomposer.org/installer | php -- --install-dir=/usr/local/bin --filename=composer \ + && chmod +x /usr/local/bin/composer ENV PATH=/root/.composer/vendor/bin:$HOME/.composer/vendor/bin:$PATH diff --git a/php/8.1/Dockerfile b/php/8.1/Dockerfile index 4b55961..2db6367 100644 --- a/php/8.1/Dockerfile +++ b/php/8.1/Dockerfile @@ -4,14 +4,36 @@ LABEL maintainer="ethitter" LABEL version="1.0" RUN apt-get update \ - && apt-get -yqqf install lsb-release zip unzip rsync subversion git libicu-dev libpng-dev libbz2-dev default-libmysqlclient-dev libzip-dev libonig-dev --fix-missing --no-install-recommends \ + && apt-get -yqqf install \ + lsb-release \ + zip \ + unzip \ + rsync \ + subversion \ + git \ + libicu-dev \ + libpng-dev \ + libbz2-dev \ + default-libmysqlclient-dev \ + libzip-dev \ + libonig-dev \ + --fix-missing \ + --no-install-recommends \ && apt-get clean \ && rm -rf /var/lib/apt/lists/* -RUN docker-php-ext-install mbstring mysqli intl gd zip bz2 +RUN docker-php-ext-install \ + mbstring \ + mysqli \ + intl \ + gd \ + zip \ + bz2 \ + && pecl install xdebug \ + && php -m SHELL ["/bin/bash", "-o", "pipefail", "-c"] -RUN curl -sS https://getcomposer.org/installer | php -- --install-dir=/usr/local/bin --filename=composer -RUN chmod +x /usr/local/bin/composer +RUN curl -sS https://getcomposer.org/installer | php -- --install-dir=/usr/local/bin --filename=composer \ + && chmod +x /usr/local/bin/composer ENV PATH=/root/.composer/vendor/bin:$HOME/.composer/vendor/bin:$PATH -- GitLab