mirror of
https://github.com/chialab/docker-php.git
synced 2026-11-06 12:40:34 -04:00
update PEAR before installing anything
This commit is contained in:
@@ -18,6 +18,9 @@ ADD https://github.com/mlocati/docker-php-extension-installer/releases/latest/do
|
||||
|
||||
RUN chmod +x /usr/local/bin/install-php-extensions
|
||||
|
||||
# PEAR < 1.10.18 can't read pecl.php.net responses anymore.
|
||||
RUN pear upgrade --force https://pear.php.net/get/PEAR-1.10.18.tgz
|
||||
|
||||
RUN DEBIAN_FRONTEND=noninteractive apt-get update -q \
|
||||
&& DEBIAN_FRONTEND=noninteractive apt-get install -qq -y \
|
||||
curl \
|
||||
|
||||
@@ -6,6 +6,9 @@ LABEL maintainer="dev@chialab.io"
|
||||
ADD https://github.com/mlocati/docker-php-extension-installer/releases/latest/download/install-php-extensions /usr/local/bin/
|
||||
RUN chmod +x /usr/local/bin/install-php-extensions
|
||||
|
||||
# PEAR < 1.10.18 can't read pecl.php.net responses anymore.
|
||||
RUN pear upgrade --force https://pear.php.net/get/PEAR-1.10.18.tgz
|
||||
|
||||
RUN apk add --no-cache \
|
||||
coreutils \
|
||||
curl \
|
||||
|
||||
@@ -211,6 +211,9 @@ ADD https://github.com/mlocati/docker-php-extension-installer/releases/latest/do
|
||||
|
||||
RUN chmod +x /usr/local/bin/install-php-extensions
|
||||
|
||||
# PEAR < 1.10.18 can't read pecl.php.net responses anymore.
|
||||
RUN pear upgrade --force https://pear.php.net/get/PEAR-1.10.18.tgz
|
||||
|
||||
RUN DEBIAN_FRONTEND=noninteractive apt-get update -q \
|
||||
&& DEBIAN_FRONTEND=noninteractive apt-get install -qq -y \
|
||||
curl \
|
||||
|
||||
@@ -275,6 +275,9 @@ ADD https://github.com/mlocati/docker-php-extension-installer/releases/latest/do
|
||||
|
||||
RUN chmod +x /usr/local/bin/install-php-extensions
|
||||
|
||||
# PEAR < 1.10.18 can't read pecl.php.net responses anymore.
|
||||
RUN pear upgrade --force https://pear.php.net/get/PEAR-1.10.18.tgz
|
||||
|
||||
RUN DEBIAN_FRONTEND=noninteractive apt-get update -q \
|
||||
&& DEBIAN_FRONTEND=noninteractive apt-get install -qq -y \
|
||||
curl \
|
||||
|
||||
@@ -251,6 +251,9 @@ ADD https://github.com/mlocati/docker-php-extension-installer/releases/latest/do
|
||||
|
||||
RUN chmod +x /usr/local/bin/install-php-extensions
|
||||
|
||||
# PEAR < 1.10.18 can't read pecl.php.net responses anymore.
|
||||
RUN pear upgrade --force https://pear.php.net/get/PEAR-1.10.18.tgz
|
||||
|
||||
RUN DEBIAN_FRONTEND=noninteractive apt-get update -q \
|
||||
&& DEBIAN_FRONTEND=noninteractive apt-get install -qq -y \
|
||||
curl \
|
||||
|
||||
Reference in New Issue
Block a user