From c8767e326acd09cdb55a22b4e4f6cc09123fcd70 Mon Sep 17 00:00:00 2001 From: RussH Date: Tue, 19 Mar 2019 15:07:43 +0000 Subject: [PATCH] Update Dockerfile to php-7.2 base on PHP-7.2, move to mysqli, add some dependencies for ldap and xml --- Dockerfile | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) diff --git a/Dockerfile b/Dockerfile index 0de11d2..daadd2e 100644 --- a/Dockerfile +++ b/Dockerfile @@ -1,8 +1,10 @@ -FROM php:5.6.27-fpm-alpine +FROM php:7.2-fpm-alpine RUN apk upgrade --update && apk add \ coreutils \ freetype-dev \ libjpeg-turbo-dev \ + libxml2-dev \ + openldap-dev \ libltdl \ libmcrypt-dev \ libpng-dev \ @@ -21,7 +23,7 @@ RUN cd ~ && \ make && \ make install RUN docker-php-ext-configure gd --with-freetype-dir=/usr/include/ --with-jpeg-dir=/usr/include/ \ - && docker-php-ext-install -j5 mysql gd ldap soap zip + && docker-php-ext-install -j5 mysqli gd soap zip ldap ADD scripts/install-composer.sh /opt/install-composer.sh RUN dos2unix /opt/install-composer.sh && \ chmod +x /opt/install-composer.sh && \