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