2
3
mirror of https://github.com/octoleo/docker-joomla.git synced 2024-11-15 16:27:07 +00:00

Add mcrypt extension to image (Fix #10)

This commit is contained in:
Michael Babker 2016-08-26 07:42:21 -05:00
parent b365e4a9d8
commit 26083ce457
4 changed files with 8 additions and 4 deletions

View File

@ -5,10 +5,11 @@ MAINTAINER Michael Babker <michael.babker@joomla.org> (@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

View File

@ -5,10 +5,11 @@ MAINTAINER Michael Babker <michael.babker@joomla.org> (@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

View File

@ -2,10 +2,11 @@ FROM php:7.0-fpm
MAINTAINER Michael Babker <michael.babker@joomla.org> (@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

View File

@ -2,10 +2,11 @@ FROM php:5.6-fpm
MAINTAINER Michael Babker <michael.babker@joomla.org> (@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