php: Drop alternative Stretch images
They are not provided for free anymore. See <https://php.freexian.com/>.
This commit is contained in:
parent
a844e7c6a9
commit
5a7c8f1686
29
.Jenkinsfile
29
.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 {
|
||||
|
|
|
@ -1,30 +0,0 @@
|
|||
FROM debian:stretch
|
||||
|
||||
LABEL maintainer="Equipe Evolix <info@evolix.fr>"
|
||||
|
||||
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"]
|
|
@ -1,30 +0,0 @@
|
|||
FROM debian:stretch
|
||||
|
||||
LABEL maintainer="Equipe Evolix <info@evolix.fr>"
|
||||
|
||||
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"]
|
Loading…
Reference in a new issue