Dockerfile 520 B

1234567891011121314151617
  1. FROM php:7.4.3-apache
  2. RUN echo "Acquire::Check-Valid-Until \"false\";\nAcquire::Check-Date \"false\";" | cat > /etc/apt/apt.conf.d/10no--check-valid-until
  3. RUN apt-get update && apt-get upgrade -y
  4. # Install Xdebug
  5. RUN pecl install xdebug-3.1.5 \
  6. && docker-php-ext-enable xdebug
  7. RUN apt-get install -y \
  8. libzip-dev \
  9. zip \
  10. && docker-php-ext-install zip
  11. RUN docker-php-ext-install exif
  12. RUN docker-php-ext-install mysqli && docker-php-ext-enable mysqli
  13. # Enable apache modules
  14. RUN a2enmod rewrite