adding dockerfile
This commit is contained in:
parent
5d00e693e1
commit
97e2c9f3db
19
Dockerfile
Normal file
19
Dockerfile
Normal file
@ -0,0 +1,19 @@
|
|||||||
|
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
|
Loading…
Reference in New Issue
Block a user