-
-
Save sprobejames/86c1490443473f96ec480785a4cd2086 to your computer and use it in GitHub Desktop.
docker php install imagemagick alpine 3.8
This file contains hidden or 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.0-fpm-alpine3.8 | |
| RUN apk add --no-cache --virtual .build-deps \ | |
| libxml2-dev \ | |
| shadow \ | |
| autoconf \ | |
| g++ \ | |
| make \ | |
| && apk add --no-cache imagemagick-dev imagemagick \ | |
| && pecl install imagick-beta \ | |
| && apk del .build-deps | |
| CMD ["php-fpm"] |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment