mirror of
https://github.com/devilbox/docker-php-fpm.git
synced 2026-01-10 09:54:43 +00:00
Changed PHP 5.5 to Debian stretch
This commit is contained in:
@@ -57,7 +57,7 @@ RUN set -eux \
|
||||
###
|
||||
### Upgrade (install ps)
|
||||
###
|
||||
{% if php_version in [5.4, 5.5] %}
|
||||
{% if php_version in [5.4] %}
|
||||
RUN set -eux \
|
||||
&& rm -f /etc/apt/sources.list \
|
||||
&& { \
|
||||
|
||||
@@ -92,7 +92,7 @@ RUN set -eux \
|
||||
blackfire-agent \
|
||||
build-essential \
|
||||
bzip2 \
|
||||
{% if php_version != 5.4 and php_version != 5.5 %}
|
||||
{% if php_version != 5.4 %}
|
||||
certbot \
|
||||
{% endif %}
|
||||
coreutils \
|
||||
|
||||
@@ -161,7 +161,6 @@ extensions_available:
|
||||
5.5:
|
||||
type: pecl
|
||||
version: 1.9.3
|
||||
run_dep: [librabbitmq1]
|
||||
all:
|
||||
type: pecl
|
||||
command: echo "/usr" | pecl install amqp
|
||||
@@ -297,8 +296,7 @@ extensions_available:
|
||||
type: builtin
|
||||
pre: ln -s /usr/lib/$(dpkg-architecture --query DEB_BUILD_GNU_TYPE)/libXpm.* /usr/lib/
|
||||
configure: --with-gd --with-vpx-dir=/usr --with-jpeg-dir=/usr --with-png-dir=/usr --with-zlib-dir=/usr --with-xpm-dir=/usr --with-freetype-dir=/usr --enable-gd-native-ttf
|
||||
build_dep: [libpng-dev, libjpeg-dev, libxpm-dev, libvpx-dev, zlib1g-dev, libfreetype6-dev]
|
||||
run_dep: [libpng12-0, libjpeg62-turbo, libxpm4, libvpx1, libfreetype6]
|
||||
run_dep: [libpng16-16, libjpeg62-turbo, libxpm4, libvpx4, libfreetype6, libwebp6]
|
||||
5.6:
|
||||
type: builtin
|
||||
pre: ln -s /usr/lib/$(dpkg-architecture --query DEB_BUILD_GNU_TYPE)/libXpm.* /usr/lib/
|
||||
@@ -377,8 +375,6 @@ extensions_available:
|
||||
disabled: [5.2, 5.3, 5.4] # Only available since 5.3. 5.3 and 5.4 segfaults
|
||||
5.5:
|
||||
type: pecl
|
||||
build_dep: [libmagickwand-dev, libwebp5, ghostscript]
|
||||
run_dep: [libmagickwand-6.q16-2, libwebp5, ghostscript]
|
||||
5.6:
|
||||
type: pecl
|
||||
run_dep: [libmagickwand-6.q16-3, libwebp6, ghostscript]
|
||||
@@ -427,7 +423,7 @@ extensions_available:
|
||||
run_dep: [libicu52]
|
||||
5.5:
|
||||
type: builtin
|
||||
run_dep: [libicu52]
|
||||
run_dep: [libicu57]
|
||||
5.6:
|
||||
type: builtin
|
||||
run_dep: [libicu57]
|
||||
@@ -654,7 +650,6 @@ extensions_available:
|
||||
run_dep: [libmysqlclient18]
|
||||
5.5:
|
||||
type: builtin
|
||||
run_dep: [libmysqlclient18]
|
||||
all:
|
||||
type: builtin
|
||||
run_dep: [libmariadbclient18]
|
||||
@@ -1111,7 +1106,6 @@ extensions_available:
|
||||
5.5:
|
||||
type: pecl
|
||||
version: 1.9.23
|
||||
run_dep: [libnghttp2-5]
|
||||
5.6:
|
||||
type: pecl
|
||||
version: 1.9.23
|
||||
@@ -1147,7 +1141,7 @@ extensions_available:
|
||||
run_dep: [libtidy-0.99-0]
|
||||
5.5:
|
||||
type: builtin
|
||||
run_dep: [libtidy-0.99-0]
|
||||
run_dep: [libtidy5]
|
||||
5.6:
|
||||
type: builtin
|
||||
run_dep: [libtidy5]
|
||||
|
||||
@@ -131,9 +131,6 @@ apt_repositories_available:
|
||||
5.4:
|
||||
pre: echo 'Acquire::Check-Valid-Until no;' > /etc/apt/apt.conf.d/99no-check-valid-until
|
||||
deb: deb http://archive.debian.org/debian jessie-backports main
|
||||
5.5:
|
||||
pre: echo 'Acquire::Check-Valid-Until no;' > /etc/apt/apt.conf.d/99no-check-valid-until
|
||||
deb: deb http://archive.debian.org/debian jessie-backports main
|
||||
all:
|
||||
pre: apt-key adv --keyserver keyserver.ubuntu.com --recv-keys 648ACFD622F3D138
|
||||
deb: deb http://ftp.debian.org/debian stretch-backports main
|
||||
@@ -163,9 +160,6 @@ apt_repositories_available:
|
||||
5.4:
|
||||
deb: deb http://repo.mongodb.org/apt/debian jessie/mongodb-org/3.6 main
|
||||
key: 2930ADAE8CAF5059EE73BB4B58712A2291FA4AD5
|
||||
5.5:
|
||||
deb: deb http://repo.mongodb.org/apt/debian jessie/mongodb-org/3.6 main
|
||||
key: 2930ADAE8CAF5059EE73BB4B58712A2291FA4AD5
|
||||
all:
|
||||
deb: deb http://repo.mongodb.org/apt/debian stretch/mongodb-org/4.0 main
|
||||
key: 9DA31620334BD75D9DCB49F368818C72E52529D4
|
||||
@@ -179,7 +173,8 @@ apt_repositories_available:
|
||||
5.4:
|
||||
deb: deb https://apt-archive.postgresql.org/pub/repos/apt/ jessie-pgdg main
|
||||
5.5:
|
||||
deb: deb https://apt-archive.postgresql.org/pub/repos/apt/ jessie-pgdg main
|
||||
deb: deb http://apt.postgresql.org/pub/repos/apt/ stretch-pgdg main
|
||||
pre: curl -sS -k -L --fail https://www.postgresql.org/media/keys/ACCC4CF8.asc | APT_KEY_DONT_WARN_ON_DANGEROUS_USAGE=1 apt-key add -
|
||||
5.6:
|
||||
deb: deb http://apt.postgresql.org/pub/repos/apt/ stretch-pgdg main
|
||||
pre: curl -sS -k -L --fail https://www.postgresql.org/media/keys/ACCC4CF8.asc | APT_KEY_DONT_WARN_ON_DANGEROUS_USAGE=1 apt-key add -
|
||||
@@ -946,15 +941,6 @@ software_available:
|
||||
&& curl -sS -L --fail -o /tmp/wkhtmltopdf.deb https://github.com/${VERSION} \
|
||||
&& dpkg -i /tmp/wkhtmltopdf.deb \
|
||||
&& rm -f /tmp/wkhtmltopdf.deb \
|
||||
5.5:
|
||||
pre: VERSION="$( curl -sSL -L --fail https://github.com/wkhtmltopdf/wkhtmltopdf/releases | grep -Eo '/wkhtmltopdf/.+jessie_amd64\.deb' | head -1 )"
|
||||
command: |
|
||||
DEBIAN_FRONTEND=noninteractive apt-get update -qq \
|
||||
&& DEBIAN_FRONTEND=noninteractive apt-get install -qq -y --no-install-recommends --no-install-suggests \
|
||||
libfontenc1 libxfont1 xfonts-75dpi xfonts-base xfonts-encodings xfonts-utils \
|
||||
&& curl -sS -L --fail -o /tmp/wkhtmltopdf.deb https://github.com/${VERSION} \
|
||||
&& dpkg -i /tmp/wkhtmltopdf.deb \
|
||||
&& rm -f /tmp/wkhtmltopdf.deb \
|
||||
5.6:
|
||||
command: |
|
||||
DEBIAN_FRONTEND=noninteractive apt-get update -qq \
|
||||
|
||||
Reference in New Issue
Block a user