File tree Expand file tree Collapse file tree 1 file changed +44
-0
lines changed
Expand file tree Collapse file tree 1 file changed +44
-0
lines changed Original file line number Diff line number Diff line change 1+ FROM php:7.4.10-fpm-alpine as php
2+
3+ RUN apk update \
4+ && docker-php-source extract \
5+ && apk add --no-cache --virtual .build-dependencies \
6+ $PHPIZE_DEPS \
7+ pcre-dev \
8+ build-base \
9+ && apk add --no-cache \
10+ shadow \
11+ vim \
12+ curl \
13+ git \
14+ postgresql-dev \
15+ imagemagick-dev \
16+ libzip-dev \
17+ # for GD
18+ freetype-dev \
19+ libjpeg-turbo-dev \
20+ libpng-dev \
21+ libwebp-dev \
22+ && docker-php-ext-configure gd \
23+ --with-freetype \
24+ --with-jpeg \
25+ && docker-php-ext-configure exif \
26+ && docker-php-ext-install -j"$(getconf _NPROCESSORS_ONLN)" \
27+ intl \
28+ exif \
29+ zip \
30+ pdo_pgsql \
31+ gd \
32+ opcache \
33+ && printf "y\n " | pecl install mongodb-1.8.0 \
34+ && printf "y\n " | pecl install igbinary-3.1.5 \
35+ && printf "y\n " | pecl install redis-5.3.1 --enable-redis-igbinary \
36+ && docker-php-ext-configure exif \
37+ && docker-php-ext-enable \
38+ igbinary \
39+ redis \
40+ mongodb \
41+ opcache \
42+ && apk del .build-dependencies \
43+ && docker-php-source delete \
44+ && rm -rf /tmp/* /var/cache/apk/*
You can’t perform that action at this time.
0 commit comments