Add mcrypt to Dockerfile

This commit is contained in:
jekkos-t520 committed 2016-11-29 17:13:04 +01:00
1 parent 9e8cc93082
commit cabccf0858
1 file changed
+2 -2
+2 -2
View File
@@ -4,10 +4,10 @@ RUN apt-get update && DEBIAN_FRONTEND=noninteractive apt-get install -y \
php5-apcu \
libicu-dev \
libgd-dev \
sendmail
libmcrypt-dev
RUN a2enmod rewrite
RUN docker-php-ext-install mysql mysqli bcmath intl gd sockets mbstring
RUN docker-php-ext-install mysql mysqli bcmath intl gd sockets mbstring mcrypt
RUN echo "date.timezone = \"\${PHP_TIMEZONE}\"" > /usr/local/etc/php/conf.d/timezone.ini
RUN echo -e “$(hostname -i)\t$(hostname) $(hostname).localhost” >> /etc/hosts