diff --git a/docker/bin/php54/Dockerfile b/docker/bin/php54/Dockerfile deleted file mode 100644 index 132ab83b72..0000000000 --- a/docker/bin/php54/Dockerfile +++ /dev/null @@ -1,58 +0,0 @@ -FROM php:5.4-apache - -# Backup and clean source.list file -RUN cp /etc/apt/sources.list /etc/apt/sources.list.old && \ - cat /dev/null > /etc/apt/sources.list - -# Fix the source.list for jessie -RUN printf "deb http://archive.debian.org/debian/ jessie main\n" > /etc/apt/sources.list && \ - printf "deb-src http://archive.debian.org/debian/ jessie main\n" >> /etc/apt/sources.list && \ - printf "deb http://security.debian.org jessie/updates main\n" >> /etc/apt/sources.list && \ - printf "deb-src http://security.debian.org jessie/updates main" >> /etc/apt/sources.list - -RUN apt-get -y --allow-unauthenticated update && apt-get upgrade -y --allow-unauthenticated - -# Install tools && libraries -RUN apt-get -y --allow-unauthenticated install --fix-missing apt-utils nano wget dialog \ - build-essential git curl libcurl3 libcurl3-dev zip \ - libmcrypt-dev libsqlite3-dev libsqlite3-0 mysql-client \ - zlib1g-dev libicu-dev libfreetype6-dev libjpeg62-turbo-dev libpng-dev \ - libapache2-mod-rpaf libpng12-dev \ - && rm -rf /var/lib/apt/lists/* - -# Composer -RUN curl -sS https://getcomposer.org/installer | php -- --install-dir=/usr/local/bin --filename=composer - -# PHP5 Extensions -RUN docker-php-ext-install curl \ - && docker-php-ext-install tokenizer \ - && docker-php-ext-install json \ - && docker-php-ext-install mcrypt \ - && docker-php-ext-install pdo_mysql \ - && docker-php-ext-install pdo_sqlite \ - && docker-php-ext-install mysql \ - && docker-php-ext-install mysqli \ - && docker-php-ext-install zip \ - && docker-php-ext-install intl \ - && docker-php-ext-install mbstring - -RUN docker-php-ext-configure gd --with-freetype-dir=/usr/include/ --with-jpeg-dir=/usr/include/ \ - && docker-php-ext-install gd - -RUN pecl install xdebug-2.4.0RC4 && docker-php-ext-enable xdebug \ - && echo "xdebug.remote_enable=1" >> /usr/local/etc/php/php.ini - -# Insure an SSL directory exists -RUN mkdir -p /etc/apache2/ssl - -# Enable SSL support -RUN a2enmod ssl && a2enmod rewrite - -# Enable apache modules -RUN a2enmod rewrite headers -RUN a2enmod rewrite rpaf - -EXPOSE 80 -EXPOSE 443 - -ENTRYPOINT ["/usr/sbin/apache2ctl", "-D", "FOREGROUND"] diff --git a/docker/bin/php56/Dockerfile b/docker/bin/php56/Dockerfile deleted file mode 100644 index fdcfc1735a..0000000000 --- a/docker/bin/php56/Dockerfile +++ /dev/null @@ -1,43 +0,0 @@ -FROM php:5.6-apache - -RUN apt-get -y update && apt-get upgrade -y - -# Install tools && libraries -RUN apt-get -y install --fix-missing apt-utils nano wget dialog \ - build-essential git curl libcurl3 libcurl3-dev zip \ - libmcrypt-dev libsqlite3-dev libsqlite3-0 mysql-client \ - zlib1g-dev libicu-dev libfreetype6-dev libjpeg62-turbo-dev libpng-dev \ - && rm -rf /var/lib/apt/lists/* - -# Composer -RUN curl -sS https://getcomposer.org/installer | php -- --install-dir=/usr/local/bin --filename=composer - -# PHP5 Extensions -RUN docker-php-ext-install curl \ - && docker-php-ext-install tokenizer \ - && docker-php-ext-install json \ - && docker-php-ext-install mcrypt \ - && docker-php-ext-install pdo_mysql \ - && docker-php-ext-install pdo_sqlite \ - && docker-php-ext-install mysqli \ - && docker-php-ext-install zip \ - && docker-php-ext-install -j$(nproc) intl \ - && docker-php-ext-install mbstring \ - && docker-php-ext-configure gd --with-freetype-dir=/usr/include/ --with-jpeg-dir=/usr/include/ \ - && docker-php-ext-install -j$(nproc) gd \ - && pecl install xdebug-2.5.5 && docker-php-ext-enable xdebug \ - && echo "xdebug.remote_enable=1" >> /usr/local/etc/php/php.ini - -# Insure an SSL directory exists -RUN mkdir -p /etc/apache2/ssl - -# Enable SSL support -RUN a2enmod ssl && a2enmod rewrite - -# Enable apache modules -RUN a2enmod rewrite headers - -EXPOSE 80 -EXPOSE 443 - -ENTRYPOINT ["/usr/sbin/apache2ctl", "-D", "FOREGROUND"] \ No newline at end of file diff --git a/docker/bin/php71/Dockerfile b/docker/bin/php71/Dockerfile deleted file mode 100644 index 323541e3ac..0000000000 --- a/docker/bin/php71/Dockerfile +++ /dev/null @@ -1,52 +0,0 @@ -FROM php:7.1.20-apache - -RUN apt-get -y update --fix-missing -RUN apt-get upgrade -y - -# Install useful tools -RUN apt-get -y install apt-utils nano wget dialog - -# Install important libraries -RUN apt-get -y install --fix-missing apt-utils build-essential git curl libcurl3 libcurl3-dev zip - -# Composer -RUN curl -sS https://getcomposer.org/installer | php -- --install-dir=/usr/local/bin --filename=composer - -# Install xdebug -RUN pecl install xdebug-2.5.0 -RUN docker-php-ext-enable xdebug - -# Other PHP7 Extensions - -RUN apt-get -y install libmcrypt-dev -RUN docker-php-ext-install mcrypt - -RUN apt-get -y install libsqlite3-dev libsqlite3-0 mysql-client -RUN docker-php-ext-install pdo_mysql -RUN docker-php-ext-install pdo_sqlite -RUN docker-php-ext-install mysqli - -RUN docker-php-ext-install curl -RUN docker-php-ext-install tokenizer -RUN docker-php-ext-install json - -RUN apt-get -y install zlib1g-dev -RUN docker-php-ext-install zip - -RUN apt-get -y install libicu-dev -RUN docker-php-ext-install -j$(nproc) intl - -RUN docker-php-ext-install mbstring - -RUN apt-get install -y libfreetype6-dev libjpeg62-turbo-dev libpng-dev -RUN docker-php-ext-configure gd --with-freetype-dir=/usr/include/ --with-jpeg-dir=/usr/include/ -RUN docker-php-ext-install -j$(nproc) gd - -# Insure an SSL directory exists -RUN mkdir -p /etc/apache2/ssl - -# Enable SSL support -RUN a2enmod ssl && a2enmod rewrite - -# Enable apache modules -RUN a2enmod rewrite headers diff --git a/docker/bin/php72/Dockerfile b/docker/bin/php72/Dockerfile deleted file mode 100644 index 3e252499ac..0000000000 --- a/docker/bin/php72/Dockerfile +++ /dev/null @@ -1,62 +0,0 @@ -#Quickfix - Basebox for PHP7.2 Library now uses Debian "10" Buster, superceeding #libcurl3, stretch is most compatible at this time whilst devs workout backport. -#https://github.com/docker-library/php/issues/865 - -FROM php:7.2-apache-stretch - -#Surpresses debconf complaints of trying to install apt packages interactively -#https://github.com/moby/moby/issues/4032#issuecomment-192327844 - -ARG DEBIAN_FRONTEND=noninteractive - -RUN apt-get -y update --fix-missing --no-install-recommends -RUN apt-get -y upgrade - -# Install useful tools -RUN apt-get -yq install apt-utils nano wget dialog - -# Install important libraries -RUN apt-get -y install --fix-missing apt-utils build-essential git curl libcurl3 libcurl3-dev zip openssl - -# Composer -RUN curl -sS https://getcomposer.org/installer | php -- --install-dir=/usr/local/bin --filename=composer - -# Install xdebug -RUN pecl install xdebug-2.6.0 -RUN docker-php-ext-enable xdebug - -# Install redis -RUN pecl install redis-4.0.1 -RUN docker-php-ext-enable redis - -# Other PHP7 Extensions - -RUN apt-get -y install libsqlite3-dev libsqlite3-0 mysql-client -RUN docker-php-ext-install pdo_mysql -RUN docker-php-ext-install pdo_sqlite -RUN docker-php-ext-install mysqli - -RUN docker-php-ext-install curl -RUN docker-php-ext-install tokenizer -RUN docker-php-ext-install json - -RUN apt-get -y install zlib1g-dev -RUN docker-php-ext-install zip - -RUN apt-get -y install libicu-dev -RUN docker-php-ext-install -j$(nproc) intl - -RUN docker-php-ext-install mbstring -RUN docker-php-ext-install gettext - -RUN apt-get install -y libfreetype6-dev libjpeg62-turbo-dev libpng-dev -RUN docker-php-ext-configure gd --with-freetype-dir=/usr/include/ --with-jpeg-dir=/usr/include/ -RUN docker-php-ext-install -j$(nproc) gd - -# Insure an SSL directory exists -RUN mkdir -p /etc/apache2/ssl - -# Enable SSL support -RUN a2enmod ssl && a2enmod rewrite - -# Enable apache modules -RUN a2enmod rewrite headers \ No newline at end of file diff --git a/docker/bin/php73/Dockerfile b/docker/bin/php73/Dockerfile deleted file mode 100644 index 7af6c662e1..0000000000 --- a/docker/bin/php73/Dockerfile +++ /dev/null @@ -1,62 +0,0 @@ -FROM php:7.3-apache-stretch - -# Surpresses debconf complaints of trying to install apt packages interactively -# https://github.com/moby/moby/issues/4032#issuecomment-192327844 - -ARG DEBIAN_FRONTEND=noninteractive - -# Update -RUN apt-get -y update --fix-missing && \ - apt-get upgrade -y && \ - apt-get --no-install-recommends install -y apt-utils && \ - rm -rf /var/lib/apt/lists/* - - -# Install useful tools and install important libaries -RUN apt-get -y update && \ - apt-get -y --no-install-recommends install nano wget dialog libsqlite3-dev libsqlite3-0 && \ - apt-get -y --no-install-recommends install mysql-client zlib1g-dev libzip-dev libicu-dev && \ - apt-get -y --no-install-recommends install --fix-missing apt-utils build-essential git curl && \ - apt-get -y --no-install-recommends install --fix-missing libcurl3 libcurl3-dev zip openssl && \ - rm -rf /var/lib/apt/lists/* && \ - curl -sS https://getcomposer.org/installer | php -- --install-dir=/usr/local/bin --filename=composer - -# Install xdebug -RUN pecl install xdebug-2.7.2 && \ - docker-php-ext-enable xdebug - -# Install redis -RUN pecl install redis-5.0.2 && \ - docker-php-ext-enable redis - -# Other PHP7 Extensions - -RUN docker-php-ext-install pdo_mysql && \ - docker-php-ext-install pdo_sqlite && \ - docker-php-ext-install mysqli && \ - docker-php-ext-install curl && \ - docker-php-ext-install tokenizer && \ - docker-php-ext-install json && \ - docker-php-ext-install zip && \ - docker-php-ext-install -j$(nproc) intl && \ - docker-php-ext-install mbstring && \ - docker-php-ext-install gettext - -# Install Freetype -RUN apt-get -y update && \ - apt-get --no-install-recommends install -y libfreetype6-dev libjpeg62-turbo-dev libpng-dev && \ - rm -rf /var/lib/apt/lists/* && \ - docker-php-ext-configure gd --with-freetype-dir=/usr/include/ --with-jpeg-dir=/usr/include/ && \ - docker-php-ext-install -j$(nproc) gd - -# Insure an SSL directory exists -RUN mkdir -p /etc/apache2/ssl - -# Enable SSL support -RUN a2enmod ssl && a2enmod rewrite - -# Enable apache modules -RUN a2enmod rewrite headers - -# Cleanup -RUN rm -rf /usr/src/* \ No newline at end of file diff --git a/docker/bin/php74/Dockerfile b/docker/bin/php74/Dockerfile deleted file mode 100644 index d974b2913e..0000000000 --- a/docker/bin/php74/Dockerfile +++ /dev/null @@ -1,89 +0,0 @@ -FROM php:7.4.2-apache-buster - -# Surpresses debconf complaints of trying to install apt packages interactively -# https://github.com/moby/moby/issues/4032#issuecomment-192327844 - -ARG DEBIAN_FRONTEND=noninteractive - -# Update -RUN apt-get -y update --fix-missing && \ - apt-get upgrade -y && \ - apt-get --no-install-recommends install -y apt-utils && \ - rm -rf /var/lib/apt/lists/* - - -# Install useful tools and install important libaries -RUN apt-get -y update && \ - apt-get -y --no-install-recommends install nano wget \ -dialog \ -libsqlite3-dev \ -libsqlite3-0 && \ - apt-get -y --no-install-recommends install default-mysql-client \ -zlib1g-dev \ -libzip-dev \ -libicu-dev && \ - apt-get -y --no-install-recommends install --fix-missing apt-utils \ -build-essential \ -git \ -curl \ -libonig-dev && \ - apt-get install -y iputils-ping && \ - apt-get -y --no-install-recommends install --fix-missing libcurl4 \ -libcurl4-openssl-dev \ -zip \ -openssl && \ - rm -rf /var/lib/apt/lists/* && \ - curl -sS https://getcomposer.org/installer | php -- --install-dir=/usr/local/bin --filename=composer - -# Install xdebug -RUN pecl install xdebug-3.1.4 && \ - docker-php-ext-enable xdebug && \ - mkdir /var/log/xdebug - -# Install redis -RUN pecl install redis-5.1.1 && \ - docker-php-ext-enable redis - -# Install imagick -RUN apt-get update && \ - apt-get -y --no-install-recommends install --fix-missing libmagickwand-dev && \ - rm -rf /var/lib/apt/lists/* && \ - pecl install imagick && \ - docker-php-ext-enable imagick - -# Other PHP7 Extensions - -RUN docker-php-ext-install pdo_mysql && \ - docker-php-ext-install pdo_sqlite && \ - docker-php-ext-install mysqli && \ - docker-php-ext-install curl && \ - docker-php-ext-install tokenizer && \ - docker-php-ext-install json && \ - docker-php-ext-install zip && \ - docker-php-ext-install -j$(nproc) intl && \ - docker-php-ext-install mbstring && \ - docker-php-ext-install gettext && \ - docker-php-ext-install calendar && \ - docker-php-ext-install exif - - -# Install Freetype -RUN apt-get -y update && \ - apt-get --no-install-recommends install -y libfreetype6-dev \ -libjpeg62-turbo-dev \ -libpng-dev && \ - rm -rf /var/lib/apt/lists/* && \ - docker-php-ext-configure gd --enable-gd --with-freetype --with-jpeg && \ - docker-php-ext-install gd - -# Insure an SSL directory exists -RUN mkdir -p /etc/apache2/ssl - -# Enable SSL support -RUN a2enmod ssl && a2enmod rewrite - -# Enable apache modules -RUN a2enmod rewrite headers - -# Cleanup -RUN rm -rf /usr/src/*