FROM omidshj/laravel-dev # RUN apt install -y php-dev RUN apt-get -y update \ && apt-get -y install libffi-dev \ && docker-php-ext-configure ffi --with-ffi \ && docker-php-ext-install ffi \ && apt-get -y install --no-install-recommends libvips42 \ && apt-get -y install libvips-tools \ && apt-get -y install libvips-dev \ && pecl install vips \ && echo 'extension="vips.so"' > /usr/local/etc/php/conf.d/20-vips.ini COPY ./php.ini /usr/local/etc/php/php-vips.ini