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
456 B

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