php-apache-pagespeed/Dockerfile
Louis Vallat 60ae19a5e0 Initial commit
Signed-off-by: Louis Vallat <louis@louis-vallat.xyz>
2020-11-09 10:13:00 +01:00

9 lines
371 B
Docker

FROM php:7.4-apache
EXPOSE 80
RUN apt-get update \
&& apt-get install -y wget \
&& 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 \
&& service apache2 restart
RUN docker-php-ext-install -j$(nproc) opcache pdo_mysql mysqli