diff --git a/Dockerfile b/Dockerfile new file mode 100644 index 0000000..5dbb659 --- /dev/null +++ b/Dockerfile @@ -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