20 lines
667 B
Docker
20 lines
667 B
Docker
|
FROM php:7-apache
|
||
|
RUN apt update; apt install -y zlib1g-dev sendmail libpng-dev libpcre3-dev libc-client-dev libkrb5-dev; apt clean
|
||
|
|
||
|
RUN docker-php-ext-install mysqli
|
||
|
RUN docker-php-ext-install gd
|
||
|
RUN docker-php-ext-install opcache
|
||
|
|
||
|
RUN docker-php-ext-configure imap --with-kerberos --with-imap-ssl \
|
||
|
&& docker-php-ext-install imap
|
||
|
|
||
|
ENV EXT_APCU_VERSION=5.1.17
|
||
|
|
||
|
RUN docker-php-source extract \
|
||
|
# ext-apcu
|
||
|
&& mkdir -p /usr/src/php/ext/apcu \
|
||
|
&& curl -fsSL https://github.com/krakjoe/apcu/archive/v$EXT_APCU_VERSION.tar.gz | tar xvz -C /usr/src/php/ext/apcu --strip 1 \
|
||
|
&& docker-php-ext-install apcu \
|
||
|
# cleanup
|
||
|
&& docker-php-source delete
|