From 27af2bca8c9527414779f62a1ad98209aefd90a9 Mon Sep 17 00:00:00 2001 From: "Shao Yu-Lung (Allen)" Date: Sun, 17 Feb 2019 01:19:20 +0800 Subject: [PATCH] fix install zip fail (#1998) --- php-fpm/Dockerfile | 3 +-- workspace/Dockerfile | 5 ++--- 2 files changed, 3 insertions(+), 5 deletions(-) diff --git a/php-fpm/Dockerfile b/php-fpm/Dockerfile index 74804c0..6fd6fea 100644 --- a/php-fpm/Dockerfile +++ b/php-fpm/Dockerfile @@ -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 # #-------------------------------------------------------------------------- diff --git a/workspace/Dockerfile b/workspace/Dockerfile index 20dc8e0..d0ebdc3 100644 --- a/workspace/Dockerfile +++ b/workspace/Dockerfile @@ -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 # #--------------------------------------------------------------------------