Am I missing a step in imagick php installation on Docker?

by Patrick Maynard at work   Last Updated January 11, 2018 13:00 PM

I have the following in a Dockerfile for a container running PHP5.x:

RUN apt-get install -y php5-imagick libmagickwand-dev libmagickcore-dev
RUN pecl install imagick
RUN echo "" >> /usr/local/etc/php/php.ini

The build process for the container does not provide any complaint. When I view phpinfo() output after running the container, there is no mention of imagick.

Is there an obvious step I am missing?

Why is this failing silently?

(This is in the context of a swarm that includes an upstream container running nginx.)

Related Questions

Docker Issue - exit status 34

Updated January 25, 2018 13:00 PM

docker stack network issue

Updated September 11, 2017 12:00 PM

Browser services' container in Docker Swarm mode

Updated April 26, 2017 08:00 AM