Skip to content

Instantly share code, notes, and snippets.

@chrisk8er
Created October 27, 2018 08:54
Show Gist options
  • Save chrisk8er/a62640985991b50778cd39da1a62d2a0 to your computer and use it in GitHub Desktop.
Save chrisk8er/a62640985991b50778cd39da1a62d2a0 to your computer and use it in GitHub Desktop.
PHP cofiguration file for docker container
FROM php:7.0-apache
RUN apt-get update && apt-get install -y libmcrypt-dev \
mysql-client libmagickwand-dev --no-install-recommends \
&& pecl install imagick \
&& docker-php-ext-enable imagick \
&& docker-php-ext-install mcrypt pdo_mysql
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment