fix install zip fail (#1998)

This commit is contained in:
Shao Yu-Lung (Allen)
2019-02-17 01:19:20 +08:00
committed by GitHub
parent 61ac73e806
commit 27af2bca8c
2 changed files with 3 additions and 5 deletions

View File

@ -56,10 +56,9 @@ RUN apt-get update -yqq && \
# next lines are here becase there is no auto build on dockerhub see https://github.com/laradock/laradock/pull/1903#issuecomment-463142846
USER root
RUN apt-get install libzip-dev zip unzip -y && \
docker-php-ext-configure zip --with-libzip && \
RUN apt-get install -y libzip-dev zip unzip \
# Install the zip extension
docker-php-ext-install zip \
php${LARADOCK_PHP_VERSION}-zip
#
#--------------------------------------------------------------------------