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.

19 lines
734 B

2 years ago
  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. #<<<<<<< HEAD
  12. # && echo 'extension="vips.so"' > /usr/local/etc/php/conf.d/20-vips.ini
  13. #RUN echo 'ffi.enable = "true"' >> /usr/local/etc/php/conf.d/20-vips.ini
  14. #
  15. #=======
  16. # && echo 'extension="vips.so"' > /usr/local/etc/php/conf.d/20-vips.ini \
  17. # && echo "ffi.enable=true" >> /usr/local/etc/php/php.ini
  18. #>>>>>>> 68568fb8827dca49383e3294693017472af49313