Skip to content

Commit

Permalink
Use PHP7 in Docker image
Browse files Browse the repository at this point in the history
Add missing PHP extensions in Docker image
  • Loading branch information
Rudloff committed Oct 2, 2017
1 parent 2cfe90b commit 159dfd2
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,10 +1,12 @@
FROM php:5.6-apache
FROM php:7.0-apache
RUN apt-get update
RUN curl -sL https://deb.nodesource.com/setup_6.x | bash -
RUN apt-get install -y libicu-dev xz-utils git zlib1g-dev python nodejs
RUN apt-get install -y libicu-dev xz-utils git zlib1g-dev python nodejs libgmp-dev gettext
RUN docker-php-ext-install mbstring
RUN docker-php-ext-install intl
RUN docker-php-ext-install zip
RUN docker-php-ext-install gmp
RUN docker-php-ext-install gettext
RUN a2enmod rewrite
RUN curl -sS https://getcomposer.org/installer | php
COPY resources/php.ini /usr/local/etc/php/
Expand Down

0 comments on commit 159dfd2

Please sign in to comment.