Skip to content

Commit

Permalink
Add libmcrypt to make REST API work. Thanks to @willonit
Browse files Browse the repository at this point in the history
  • Loading branch information
pierrecdn committed Aug 7, 2015
1 parent 6d907fc commit 1f6d897
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@ ENV PHPIPAM_VERSION 1.16.003

# Install required deb packages
RUN apt-get update && \
apt-get install -y git php-pear php5-curl php5-mysql php5-json php5-gmp php5-mcrypt php5-ldap libgmp-dev && \
apt-get install -y git php-pear php5-curl php5-mysql php5-json php5-gmp php5-mcrypt php5-ldap libgmp-dev libmcrypt-dev && \
rm -rf /var/lib/apt/lists/*

# Configure apache and required PHP modules
Expand All @@ -17,6 +17,7 @@ RUN docker-php-ext-configure mysqli --with-mysqli=mysqlnd && \
ln -s /usr/include/x86_64-linux-gnu/gmp.h /usr/include/gmp.h && \
docker-php-ext-configure gmp --with-gmp=/usr/include/x86_64-linux-gnu && \
docker-php-ext-install gmp && \
docker-php-ext-install mcrypt && \
echo ". /etc/environment" >> /etc/apache2/envvars && \
a2enmod rewrite

Expand Down

0 comments on commit 1f6d897

Please sign in to comment.