Merge pull request #1574 from bestlong/pecl-channel-update

update pecl channel
This commit is contained in:
Shao Yu-Lung (Allen) 2018-05-28 10:29:34 +08:00 committed by GitHub
commit fc8736773c
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
2 changed files with 3 additions and 1 deletions

View File

@ -19,7 +19,8 @@ FROM laradock/php-fpm:2.2-${PHP_VERSION}
LABEL maintainer="Mahmoud Zalt <mahmoud@zalt.me>" LABEL maintainer="Mahmoud Zalt <mahmoud@zalt.me>"
# always run apt update when start and after add new source list, then clean up at end. # 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
# #
#-------------------------------------------------------------------------- #--------------------------------------------------------------------------

View File

@ -33,6 +33,7 @@ ENV PGID ${PGID}
# always run apt update when start and after add new source list, then clean up at end. # 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 && \
groupadd -g ${PGID} laradock && \ groupadd -g ${PGID} laradock && \
useradd -u ${PUID} -g laradock -m laradock -G docker_env && \ useradd -u ${PUID} -g laradock -m laradock -G docker_env && \
usermod -p "*" laradock usermod -p "*" laradock