diff --git a/Dockerfile b/Dockerfile index 8515689..30f0138 100644 --- a/Dockerfile +++ b/Dockerfile @@ -1,14 +1,14 @@ 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 +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