Unverified Commit 27af2bca authored by Shao Yu-Lung (Allen)'s avatar Shao Yu-Lung (Allen) Committed by GitHub

fix install zip fail (#1998)

parent 61ac73e8
......@@ -44,8 +44,7 @@ USER root
RUN apt-get install libzip-dev zip unzip -y && \
docker-php-ext-configure zip --with-libzip && \
# Install the zip extension
docker-php-ext-install zip \
docker-php-ext-install zip
#
#--------------------------------------------------------------------------
......
......@@ -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
#
#--------------------------------------------------------------------------
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment