From d5efd5309eb559fa3eb3915d32ed2d6ccb37b8ff Mon Sep 17 00:00:00 2001 From: bestlong Date: Mon, 28 May 2018 08:47:22 +0800 Subject: [PATCH] update pecl channel --- php-fpm/Dockerfile | 3 ++- workspace/Dockerfile | 1 + 2 files changed, 3 insertions(+), 1 deletion(-) diff --git a/php-fpm/Dockerfile b/php-fpm/Dockerfile index e67d98db..6d4a3b33 100644 --- a/php-fpm/Dockerfile +++ b/php-fpm/Dockerfile @@ -19,7 +19,8 @@ FROM laradock/php-fpm:2.2-${PHP_VERSION} LABEL maintainer="Mahmoud Zalt " # always run apt update when start and after add new source list, then clean up at end. -RUN apt-get update -yqq +RUN apt-get update -yqq && \ + pecl channel-update pecl.php.net # #-------------------------------------------------------------------------- diff --git a/workspace/Dockerfile b/workspace/Dockerfile index d468965a..428884f7 100644 --- a/workspace/Dockerfile +++ b/workspace/Dockerfile @@ -33,6 +33,7 @@ ENV PGID ${PGID} # always run apt update when start and after add new source list, then clean up at end. RUN apt-get update -yqq && \ + pecl channel-update pecl.php.net && \ groupadd -g ${PGID} laradock && \ useradd -u ${PUID} -g laradock -m laradock -G docker_env && \ usermod -p "*" laradock