-
-
Notifications
You must be signed in to change notification settings - Fork 4
/
Copy pathDockerfile.fpm
54 lines (51 loc) · 1.14 KB
/
Dockerfile.fpm
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
ARG BASE_TAG=8.1-fpm-alpine
FROM php:$BASE_TAG
RUN apk --update add \
wget \
curl \
build-base \
composer \
nodejs \
npm \
libmcrypt-dev \
libxml2-dev \
pcre-dev \
zlib-dev \
autoconf \
oniguruma-dev \
openssl \
openssl-dev \
freetype-dev \
libjpeg-turbo-dev \
jpeg-dev \
libpng-dev \
imagemagick-dev \
imagemagick \
postgresql-dev \
libzip-dev \
gettext-dev \
libxslt-dev \
libgcrypt-dev && \
pecl channel-update pecl.php.net && \
pecl install mcrypt redis-5.3.4 && \
docker-php-ext-install \
mysqli \
mbstring \
pdo \
pdo_mysql \
xml \
pcntl \
bcmath \
pdo_pgsql \
zip \
intl \
gettext \
soap \
sockets \
xsl && \
docker-php-ext-configure gd --with-freetype=/usr/lib/ --with-jpeg=/usr/lib/ && \
docker-php-ext-install gd && \
docker-php-ext-enable redis && \
rm -rf /tmp/pear && \
rm /var/cache/apk/*
WORKDIR /var/www/html