1 |
579f9cdd
|
Tomáš Ballák
|
FROM php:7.4-fpm-alpine
|
2 |
|
|
RUN apk update; \
|
3 |
|
|
apk upgrade; \
|
4 |
|
|
apk add autoconf openssl-dev g++ make && \
|
5 |
1f77dd64
|
ballakt
|
echo "**** install MongoDB ****\n" && \
|
6 |
579f9cdd
|
Tomáš Ballák
|
pecl install mongodb && \
|
7 |
|
|
docker-php-ext-enable mongodb; \
|
8 |
3bae34e0
|
Tomáš Ballák
|
apk del --purge autoconf openssl-dev g++ make;
|
9 |
91bca584
|
Tomáš
|
RUN apk add npm; \
|
10 |
eb9f3f21
|
Tomáš
|
npm install --global webpack webpack-cli;
|
11 |
1f77dd64
|
ballakt
|
RUN echo "**** install PHP Composer ****\n" && \
|
12 |
dccd75e0
|
Tomáš
|
curl -sS https://getcomposer.org/installer | php -- --install-dir=/usr/bin --filename=composer
|