2021-09-23 08:19:06 +02:00
|
|
|
FROM php:8-apache
|
2020-11-09 10:13:00 +01:00
|
|
|
EXPOSE 80
|
|
|
|
RUN apt-get update \
|
2021-11-17 19:12:11 +01:00
|
|
|
&& apt-get install -y wget libpq-dev \
|
2020-11-09 10:13:00 +01:00
|
|
|
&& wget https://dl-ssl.google.com/dl/linux/direct/mod-pagespeed-stable_current_amd64.deb -O /tmp/modpagespeed.deb \
|
|
|
|
&& dpkg -i /tmp/modpagespeed.deb \
|
|
|
|
&& rm /tmp/modpagespeed.deb \
|
2021-06-13 12:33:56 +02:00
|
|
|
&& service apache2 restart \
|
|
|
|
&& mv "$PHP_INI_DIR/php.ini-production" "$PHP_INI_DIR/php.ini" \
|
2021-11-17 19:05:12 +01:00
|
|
|
&& docker-php-ext-install -j$(nproc) opcache pdo_mysql mysqli pdo_pgsql pgsql
|