aswi2020sebela-gitlab/docker/php-fpm/Dockerfile @ 667990c0
1 |
FROM php:7.4-fpm-alpine |
---|---|
2 |
RUN apk update; \ |
3 |
apk upgrade; \ |
4 |
apk add autoconf openssl-dev g++ make && \ |
5 |
echo "**** install MongoDB ****\n" && \ |
6 |
pecl install mongodb && \ |
7 |
docker-php-ext-enable mongodb; \ |
8 |
apk del --purge autoconf openssl-dev g++ make; |
9 |
RUN apk add npm; \ |
10 |
npm install --global webpack webpack-cli; |
11 |
RUN echo "**** install PHP Composer ****\n" && \ |
12 |
curl -sS https://getcomposer.org/installer | php -- --install-dir=/usr/bin --filename=composer |