From 26083ce457c562ab36982b35f05fcd76fba20209 Mon Sep 17 00:00:00 2001 From: Michael Babker Date: Fri, 26 Aug 2016 07:42:21 -0500 Subject: [PATCH] Add mcrypt extension to image (Fix #10) --- apache-php7/Dockerfile | 3 ++- apache/Dockerfile | 3 ++- fpm-php7/Dockerfile | 3 ++- fpm/Dockerfile | 3 ++- 4 files changed, 8 insertions(+), 4 deletions(-) diff --git a/apache-php7/Dockerfile b/apache-php7/Dockerfile index 67a1d2d..4aa2691 100755 --- a/apache-php7/Dockerfile +++ b/apache-php7/Dockerfile @@ -5,10 +5,11 @@ MAINTAINER Michael Babker (@mbabker) RUN a2enmod rewrite # Install PHP extensions -RUN apt-get update && apt-get install -y libpng12-dev libjpeg-dev zip unzip && rm -rf /var/lib/apt/lists/* \ +RUN apt-get update && apt-get install -y libpng12-dev libjpeg-dev libmcrypt-dev zip unzip && rm -rf /var/lib/apt/lists/* \ && docker-php-ext-configure gd --with-png-dir=/usr --with-jpeg-dir=/usr \ && docker-php-ext-install gd RUN docker-php-ext-install mysqli +RUN docker-php-ext-install mcrypt VOLUME /var/www/html diff --git a/apache/Dockerfile b/apache/Dockerfile index 9952ac3..62f9381 100755 --- a/apache/Dockerfile +++ b/apache/Dockerfile @@ -5,10 +5,11 @@ MAINTAINER Michael Babker (@mbabker) RUN a2enmod rewrite # Install PHP extensions -RUN apt-get update && apt-get install -y libpng12-dev libjpeg-dev zip unzip && rm -rf /var/lib/apt/lists/* \ +RUN apt-get update && apt-get install -y libpng12-dev libjpeg-dev libmcrypt-dev zip unzip && rm -rf /var/lib/apt/lists/* \ && docker-php-ext-configure gd --with-png-dir=/usr --with-jpeg-dir=/usr \ && docker-php-ext-install gd RUN docker-php-ext-install mysqli +RUN docker-php-ext-install mcrypt VOLUME /var/www/html diff --git a/fpm-php7/Dockerfile b/fpm-php7/Dockerfile index c32eb9f..887ea3f 100755 --- a/fpm-php7/Dockerfile +++ b/fpm-php7/Dockerfile @@ -2,10 +2,11 @@ FROM php:7.0-fpm MAINTAINER Michael Babker (@mbabker) # Install PHP extensions -RUN apt-get update && apt-get install -y libpng12-dev libjpeg-dev zip unzip && rm -rf /var/lib/apt/lists/* \ +RUN apt-get update && apt-get install -y libpng12-dev libjpeg-dev libmcrypt-dev zip unzip && rm -rf /var/lib/apt/lists/* \ && docker-php-ext-configure gd --with-png-dir=/usr --with-jpeg-dir=/usr \ && docker-php-ext-install gd RUN docker-php-ext-install mysqli +RUN docker-php-ext-install mcrypt VOLUME /var/www/html diff --git a/fpm/Dockerfile b/fpm/Dockerfile index a547fae..84553ff 100755 --- a/fpm/Dockerfile +++ b/fpm/Dockerfile @@ -2,10 +2,11 @@ FROM php:5.6-fpm MAINTAINER Michael Babker (@mbabker) # Install PHP extensions -RUN apt-get update && apt-get install -y libpng12-dev libjpeg-dev zip unzip && rm -rf /var/lib/apt/lists/* \ +RUN apt-get update && apt-get install -y libpng12-dev libjpeg-dev libmcrypt-dev zip unzip && rm -rf /var/lib/apt/lists/* \ && docker-php-ext-configure gd --with-png-dir=/usr --with-jpeg-dir=/usr \ && docker-php-ext-install gd RUN docker-php-ext-install mysqli +RUN docker-php-ext-install mcrypt VOLUME /var/www/html