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

  1. # syntax = edrevo/dockerfile-plus
  2. FROM php:7.4-fpm
  3. INCLUDE+ ./fpm/php.base.Dockerfile
  4. ARG XDEBUG_INI_PATH=/usr/local/etc/php/conf.d/xdebug.ini
  5. COPY ./xdebug2.ini ${XDEBUG_INI_PATH}
  6. ###########################################################################
  7. # Remove DST_Root_CA3
  8. ###########################################################################
  9. # mozilla\/DST_Root_CA_X3.crt still exists in php-fpm container up to 7.4. On ~8.1 it was removed
  10. RUN sed -i 's/^mozilla\/DST_Root_CA_X3\.crt/!mozilla\/DST_Root_CA_X3.crt/g' /etc/ca-certificates.conf && \
  11. update-ca-certificates