ptut-virtenv/docker/php-fpm-extra

11 lines
441 B
Plaintext

FROM php:7-fpm
RUN apt-get update; \
apt-get install -y gnupg; \
curl -sL https://deb.nodesource.com/setup_9.x | bash -; \
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 | php -- --install-dir=/usr/local/bin --filename=composer; \
docker-php-ext-install -j$(nproc) pdo pdo_mysql opcache gd xml zip;