-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathDockerfile
73 lines (67 loc) · 1.28 KB
/
Dockerfile
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
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
FROM php:7.1-fpm-stretch
ENV PHP_EXTRA_CONFIGURE_ARGS \
--enable-fpm \
--with-fpm-user=www-data \
--with-fpm-group=www-data \
--enable-intl \
--enable-opcache \
--enable-zip \
--enable-calendar
RUN apt-get update && \
apt-get install -y \
libcurl4-gnutls-dev \
libxml2-dev \
libssl-dev \
g++ \
autoconf \
libbz2-dev \
libltdl-dev \
libpng-dev \
libjpeg62-turbo-dev \
libfreetype6-dev \
libxpm-dev \
libimlib2-dev \
libicu-dev \
libmcrypt-dev \
libxslt1-dev \
re2c \
libpng++-dev \
libvpx-dev \
zlib1g-dev \
libgd-dev \
libtidy-dev \
libmagic-dev \
libexif-dev \
file \
libssh2-1-dev \
libjpeg-dev \
git \
curl \
wget \
librabbitmq-dev \
libzip-dev
RUN docker-php-ext-configure \
gd --with-freetype-dir=/usr --with-jpeg-dir=/usr --with-png-dir=/usr
RUN docker-php-ext-install \
dom \
pcntl \
posix \
pdo \
sockets \
pdo_mysql \
mysqli \
mbstring \
mcrypt \
hash \
simplexml \
xsl \
soap \
intl \
bcmath \
json \
opcache \
zip \
calendar \
gd
COPY php.ini /usr/local/etc/php/php.ini
COPY php-fpm.conf /usr/local/etc/php-fpm.conf