I am trying to install image magik inside laradock 
<https://github.com/laradock/laradock>

I have setup nginx , mysql, redis and elasticsearch.
I have tried installing the image magik inside php-fpm with 

RUN apt-get -y update && \
 apt-get install pkg-config libmagickwand-dev -y && \
 pecl install imagick

RUN docker-php-ext-enable imagick

But still image are not generated.