diff --git a/php-fpm/Dockerfile b/php-fpm/Dockerfile index 74804c07..6fd6feaf 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 20dc8e04..d0ebdc39 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 # #--------------------------------------------------------------------------