This repository has been archived by the owner on Sep 6, 2020. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 1
/
Copy pathDockerfile
49 lines (46 loc) · 1.44 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
FROM php:7.3-fpm
MAINTAINER Krzysztof Kawalec <[email protected]>
RUN apt-get update \
&& DEBIAN_FRONTEND=noninteractive apt-get install -y \
openssh-client \
libfreetype6-dev \
libjpeg62-turbo-dev \
libmcrypt-dev \
libpng-dev \
libcurl4-openssl-dev \
libldap2-dev \
libicu-dev \
libc-client-dev \
libkrb5-dev \
libmagickwand-dev --no-install-recommends \
curl \
libtidy* \
libzip-dev \
default-mysql-client \
telnet \
nano \
&& apt-get clean \
&& rm -r /var/lib/apt/lists/*
RUN docker-php-ext-install \
mbstring \
curl \
json \
pdo_mysql \
exif \
tidy \
zip \
bcmath \
opcache \
&& docker-php-ext-configure gd --with-freetype-dir=/usr/include/ --with-jpeg-dir=/usr/include/ \
&& docker-php-ext-install gd \
&& docker-php-ext-configure ldap --with-libdir=lib/x86_64-linux-gnu \
&& docker-php-ext-install ldap \
&& docker-php-ext-configure intl \
&& docker-php-ext-install intl \
&& docker-php-ext-configure imap --with-kerberos --with-imap-ssl \
&& docker-php-ext-install imap \
&& pecl install imagick \
&& docker-php-ext-enable imagick
RUN echo "memory_limit=-1" > $PHP_INI_DIR/conf.d/memory-limit.ini \
&& echo "date.timezone=Europe/Warsaw" > $PHP_INI_DIR/conf.d/date_timezone.ini
RUN php --version