Skip to content

Commit 4754b72

Browse files
committed
Merge pull request #26 from infosiftr/new-php
Add new PHP magic!
2 parents 593c91c + c1fbc8c commit 4754b72

File tree

1 file changed

+6
-0
lines changed

1 file changed

+6
-0
lines changed

Dockerfile

+6
Original file line numberDiff line numberDiff line change
@@ -4,6 +4,12 @@ RUN apt-get update && apt-get install -y rsync && rm -r /var/lib/apt/lists/*
44

55
RUN a2enmod rewrite
66

7+
# install the PHP extensions we need
8+
RUN apt-get update && apt-get install -y libpng12-dev && rm -rf /var/lib/apt/lists/* \
9+
&& docker-php-ext-install gd \
10+
&& apt-get purge --auto-remove -y libpng12-dev
11+
RUN docker-php-ext-install mysqli
12+
713
VOLUME /var/www/html
814

915
ENV WORDPRESS_VERSION 4.0.0

0 commit comments

Comments
 (0)