Skip to content

Commit

Permalink
Merge pull request #1 from RussH/Move-Docker-to-php-7.2
Browse files Browse the repository at this point in the history
Update Dockerfile to php-7.2
  • Loading branch information
RussH authored Mar 19, 2019
2 parents e25c186 + c8767e3 commit 3c4637f
Showing 1 changed file with 4 additions and 2 deletions.
6 changes: 4 additions & 2 deletions Dockerfile
Original file line number Diff line number Diff line change
@@ -1,8 +1,10 @@
FROM php:5.6.27-fpm-alpine
FROM php:7.2-fpm-alpine
RUN apk upgrade --update && apk add \
coreutils \
freetype-dev \
libjpeg-turbo-dev \
libxml2-dev \
openldap-dev \
libltdl \
libmcrypt-dev \
libpng-dev \
Expand All @@ -21,7 +23,7 @@ RUN cd ~ && \
make && \
make install
RUN docker-php-ext-configure gd --with-freetype-dir=/usr/include/ --with-jpeg-dir=/usr/include/ \
&& docker-php-ext-install -j5 mysql gd ldap soap zip
&& docker-php-ext-install -j5 mysqli gd soap zip ldap
ADD scripts/install-composer.sh /opt/install-composer.sh
RUN dos2unix /opt/install-composer.sh && \
chmod +x /opt/install-composer.sh && \
Expand Down

0 comments on commit 3c4637f

Please sign in to comment.