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; \ npm install -g npm@latest; \ npm install -g vue-cli; \ docker-php-ext-install -j$(nproc) pdo pdo_mysql opcache;