From 97e2c9f3db113162ea456107a412d5773d5a53dc Mon Sep 17 00:00:00 2001 From: Matt Burchett Date: Sat, 27 Feb 2021 04:09:24 -0600 Subject: [PATCH] adding dockerfile --- Dockerfile | 19 +++++++++++++++++++ 1 file changed, 19 insertions(+) create mode 100644 Dockerfile 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