Skip to content

Commit

Permalink
Merge pull request #291 from iturgeon/issue/288-update-docker-for-tests
Browse files Browse the repository at this point in the history
updates dockerfile to better meet requirements for testing
  • Loading branch information
bagofarms authored Jun 8, 2017
2 parents ae3725f + 27ac900 commit 56ae6ed
Showing 1 changed file with 7 additions and 2 deletions.
9 changes: 7 additions & 2 deletions Dockerfile
Original file line number Diff line number Diff line change
@@ -1,6 +1,11 @@
# Get php 5.6
FROM php:5.6-alpine

RUN apk update && apk add git
RUN apk upgrade --update && apk add --no-cache \
git \
freetype-dev \
libjpeg-turbo-dev \
libpng-dev \
&& docker-php-ext-configure gd --with-freetype-dir=/usr/include/ --with-jpeg-dir=/usr/include/ \
&& docker-php-ext-install gd

WORKDIR /var/www

0 comments on commit 56ae6ed

Please sign in to comment.