Created
June 21, 2018 17:39
-
-
Save AshMartian/dcc5fe596f882f8f5d43bbfa1e853ae7 to your computer and use it in GitHub Desktop.
php-fpm-imagic
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
FROM php:7.1-fpm | |
MAINTAINER Brandon Martin | |
VOLUME /usr/share/nginx/www/wordpress/ | |
#WORKDIR /code | |
RUN apt-get update && apt-get install -y wget gnupg libmagickwand-dev imagemagick libzip-dev | |
RUN pecl install imagick | |
RUN pecl install zip | |
RUN docker-php-ext-install mysqli && \ | |
docker-php-ext-install pdo_mysql && \ | |
docker-php-ext-enable imagick | |
RUN echo 'deb http://apt.newrelic.com/debian/ newrelic non-free' | tee /etc/apt/sources.list.d/newrelic.list | |
RUN wget -O - https://download.newrelic.com/548C16BF.gpg | apt-key add - | |
RUN apt-get update | |
RUN apt-get -y install newrelic-php5 |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment