From e323b94311dbd8bb69cff1ba989896aa941629da Mon Sep 17 00:00:00 2001 From: mohammadkhazaee Date: Sat, 23 Jul 2022 13:45:06 +0000 Subject: [PATCH] make dockerfile more sexy --- Dockerfile | 18 +++++++++--------- 1 file changed, 9 insertions(+), 9 deletions(-) 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