2018-02-17 17:00:50 +00:00
|
|
|
FROM php:7-fpm
|
|
|
|
|
2018-02-17 18:20:27 +00:00
|
|
|
RUN apt-get update; \
|
2018-02-18 17:41:55 +00:00
|
|
|
apt-get install -y gnupg; \
|
|
|
|
curl -sL https://deb.nodesource.com/setup_9.x | bash -; \
|
2018-02-19 22:26:18 +00:00
|
|
|
apt-get install -y git nodejs build-essential zlib1g-dev libpng-dev libxml2-dev; \
|
2018-02-18 17:41:55 +00:00
|
|
|
npm install -g npm@latest; \
|
|
|
|
npm install -g vue-cli; \
|
2018-02-19 22:26:18 +00:00
|
|
|
curl -sS https://getcomposer.org/installer | php -- --install-dir=/usr/local/bin --filename=composer; \
|
2018-02-19 22:09:25 +00:00
|
|
|
docker-php-ext-install -j$(nproc) pdo pdo_mysql opcache gd xml zip;
|