Skip to content

Instantly share code, notes, and snippets.

@mhubig
Created April 6, 2016 09:14
Show Gist options
  • Save mhubig/8f21ae9cde210abd6a938e4aa0cce640 to your computer and use it in GitHub Desktop.
Save mhubig/8f21ae9cde210abd6a938e4aa0cce640 to your computer and use it in GitHub Desktop.
FROM php:5.6-fpm
RUN apt-get update && apt-get install -y \
bzip2 \
libcurl4-openssl-dev \
libpng12-dev \
libmagickwand-dev
RUN docker-php-ext-install mysql json curl gd \
&& pecl install imagick-3.3.0RC2 \
&& pear channel-discover pear.symfony.com \
&& pear channel-discover pear.doctrine-project.org \
&& pear channel-discover pear.twig-project.org \
&& pear install pear.doctrine-project.org/DoctrineORM \
pear.doctrine-project.org/DoctrineSymfonyYaml \
pear.doctrine-project.org/DoctrineSymfonyConsole \
twig/Twig
# download partkeepr
RUN cd /var/www \
&& curl https://partkeepr.org/downloads/partkeepr-0.1.9.tbz2 |tar xj \
&& mv partkeepr-0.1.9 partkeepr
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment