Browse Source

update pecl channel

bestlong 7 years ago
parent
commit
d5efd5309e
2 changed files with 3 additions and 1 deletions
  1. 2 1
      php-fpm/Dockerfile
  2. 1 0
      workspace/Dockerfile

+ 2 - 1
php-fpm/Dockerfile

@@ -19,7 +19,8 @@ FROM laradock/php-fpm:2.2-${PHP_VERSION}
 LABEL maintainer="Mahmoud Zalt <mahmoud@zalt.me>"
 
 # 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
 
 #
 #--------------------------------------------------------------------------

+ 1 - 0
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