From 5a7c8f16864c590368a60efb52cdfde632b7d78f Mon Sep 17 00:00:00 2001 From: David Prevot Date: Tue, 12 Jul 2022 13:28:49 +0200 Subject: [PATCH] php: Drop alternative Stretch images They are not provided for free anymore. See . --- .Jenkinsfile | 29 ----------------------------- php/Dockerfile.stretch72 | 30 ------------------------------ php/Dockerfile.stretch73 | 30 ------------------------------ 3 files changed, 89 deletions(-) delete mode 100644 php/Dockerfile.stretch72 delete mode 100644 php/Dockerfile.stretch73 diff --git a/.Jenkinsfile b/.Jenkinsfile index 701be84..7c0c2af 100644 --- a/.Jenkinsfile +++ b/.Jenkinsfile @@ -160,35 +160,6 @@ pipeline { } } - stage('Build php (Stretch PHP 7.2)') { - steps { - script { - def deb9php72 = docker.build("evolix/php:deb9php72build${env.BUILD_ID}", "-f php/Dockerfile.stretch72 php") - deb9php72.inside { - sh 'composer --version' - } - /* No crendentials yet - deb9php72.push('stretch72') - deb9php72.push('7.2') - */ - } - } - } - - stage('Build php (Stretch PHP 7.3)') { - steps { - script { - def deb9php73 = docker.build("evolix/php:deb9php73build${env.BUILD_ID}", "-f php/Dockerfile.stretch73 php") - deb9php73.inside { - sh 'composer --version' - } - /* No crendentials yet - deb9php73.push('stretch73') - */ - } - } - } - stage('Build php (Buster)') { steps { script { diff --git a/php/Dockerfile.stretch72 b/php/Dockerfile.stretch72 deleted file mode 100644 index 970933b..0000000 --- a/php/Dockerfile.stretch72 +++ /dev/null @@ -1,30 +0,0 @@ -FROM debian:stretch - -LABEL maintainer="Equipe Evolix " - -RUN apt-get update && apt-get install -y --no-install-recommends wget apt-transport-https ca-certificates -RUN wget -O /etc/apt/trusted.gpg.d/php.gpg https://packages.sury.org/php/apt.gpg -RUN echo "deb https://packages.sury.org/php/ stretch main" > /etc/apt/sources.list.d/sury.list -RUN apt-get update \ - && apt-get install -y --no-install-recommends \ - php7.2 \ - php7.2-fpm \ - php7.2-cli \ - php7.2-curl \ - php7.2-mysql \ - php7.2-pgsql \ - php7.2-ldap \ - php7.2-imap \ - php7.2-gd \ - php-ssh2 \ - php-gettext \ - composer \ - libphp-phpmailer \ - && rm -rf /var/lib/apt/lists/* \ - && mkdir -p /run/php - -COPY z-evolinux-defaults.php72.ini /etc/php/7.2/fpm/conf.d/z-evolinux-defaults.ini -COPY pool.d-defaults.php72.conf /etc/php/7.2/fpm/pool.d/www.conf - -EXPOSE 9000 -CMD ["php-fpm7.2"] diff --git a/php/Dockerfile.stretch73 b/php/Dockerfile.stretch73 deleted file mode 100644 index 95198cc..0000000 --- a/php/Dockerfile.stretch73 +++ /dev/null @@ -1,30 +0,0 @@ -FROM debian:stretch - -LABEL maintainer="Equipe Evolix " - -RUN apt-get update && apt-get install -y --no-install-recommends wget apt-transport-https ca-certificates -RUN wget -O /etc/apt/trusted.gpg.d/php.gpg https://packages.sury.org/php/apt.gpg -RUN echo "deb https://packages.sury.org/php/ stretch main" > /etc/apt/sources.list.d/sury.list -RUN apt-get update \ - && apt-get install -y --no-install-recommends \ - php7.3 \ - php7.3-fpm \ - php7.3-cli \ - php7.3-curl \ - php7.3-mysql \ - php7.3-pgsql \ - php7.3-ldap \ - php7.3-imap \ - php7.3-gd \ - php-ssh2 \ - php-gettext \ - composer \ - libphp-phpmailer \ - && rm -rf /var/lib/apt/lists/* \ - && mkdir -p /run/php - -COPY z-evolinux-defaults.php73.ini /etc/php/7.3/fpm/conf.d/z-evolinux-defaults.ini -COPY pool.d-defaults.php73.conf /etc/php/7.3/fpm/pool.d/www.conf - -EXPOSE 9000 -CMD ["php-fpm7.3"]