Skip to content

Commit

Permalink
Upgrade base-image to php:7.2
Browse files Browse the repository at this point in the history
php 5.6 is not supported anymore.
phpipam now support 7.2 since the latest 1.3.2.

Signed-off-by: pierrecdn <me@pierre-cheynier.net>
  • Loading branch information
pierrecdn committed Jan 13, 2019
1 parent 888e2ce commit ef1ba67
Showing 1 changed file with 3 additions and 2 deletions.
5 changes: 3 additions & 2 deletions Dockerfile
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
FROM php:5.6-apache
FROM php:7.2-apache
MAINTAINER Pierre Cheynier <pierre.cheynier@gmail.com>

ENV PHPIPAM_SOURCE https://github.com/phpipam/phpipam/
Expand Down Expand Up @@ -37,10 +37,11 @@ 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 && \
docker-php-ext-install pcntl && \
docker-php-ext-configure ldap --with-libdir=lib/x86_64-linux-gnu && \
docker-php-ext-install ldap && \
pecl install mcrypt-1.0.1 && \
docker-php-ext-enable mcrypt && \
echo ". /etc/environment" >> /etc/apache2/envvars && \
a2enmod rewrite

Expand Down

0 comments on commit ef1ba67

Please sign in to comment.