From 75e92d68d4c71c2b4c8775a08114cdd0e1b453e6 Mon Sep 17 00:00:00 2001 From: xdrm-brackets Date: Mon, 19 Feb 2018 23:26:18 +0100 Subject: [PATCH] -optimized php-fpm-extra --- docker/php-fpm-extra | 6 ++---- 1 file changed, 2 insertions(+), 4 deletions(-) diff --git a/docker/php-fpm-extra b/docker/php-fpm-extra index 859abaa..b171226 100644 --- a/docker/php-fpm-extra +++ b/docker/php-fpm-extra @@ -1,12 +1,10 @@ FROM php:7-fpm RUN apt-get update; \ - apt-get install -y git; \ apt-get install -y gnupg; \ curl -sL https://deb.nodesource.com/setup_9.x | bash -; \ - apt-get install -y nodejs build-essential; \ + apt-get install -y git nodejs build-essential zlib1g-dev libpng-dev libxml2-dev; \ npm install -g npm@latest; \ npm install -g vue-cli; \ - curl -sS https://getcomposer.org/installer | sudo php -- --install-dir=/usr/local/bin --filename=composer; \ - apt-get install -y zlib1g-dev libpng-dev libxml2-dev; \ + curl -sS https://getcomposer.org/installer | php -- --install-dir=/usr/local/bin --filename=composer; \ docker-php-ext-install -j$(nproc) pdo pdo_mysql opcache gd xml zip;