Skip to content

Instantly share code, notes, and snippets.

@sprobejames
Forked from ptflp/Dockerfile
Created September 22, 2023 00:51
Show Gist options
  • Select an option

  • Save sprobejames/86c1490443473f96ec480785a4cd2086 to your computer and use it in GitHub Desktop.

Select an option

Save sprobejames/86c1490443473f96ec480785a4cd2086 to your computer and use it in GitHub Desktop.
docker php install imagemagick alpine 3.8
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