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