You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

14 lines
496 B

  1. FROM omidshj/laravel-dev
  2. # RUN apt install -y php-dev
  3. RUN apt-get -y update \
  4. && apt-get -y install libffi-dev \
  5. && docker-php-ext-configure ffi --with-ffi \
  6. && docker-php-ext-install ffi \
  7. && apt-get -y install --no-install-recommends libvips42 \
  8. && apt-get -y install libvips-tools \
  9. && apt-get -y install libvips-dev \
  10. && pecl install vips \
  11. && echo 'extension="vips.so"' > /usr/local/etc/php/conf.d/20-vips.ini
  12. COPY ./php.ini /usr/local/etc/php/php-vips.ini