ngx_pagespeed Dockerfile for Alpine, based on wernight/docker-alpine-nginx-pagespeed
This image is based on Alpine Linux version latest(3.8)
1.13.35.2
1.13.35.2
Stable NGINX version 1.16.0 fetched from nginx.org .
This image should be a 100% compatible drop in replacement for the official nginx image.
$ docker build -t <image_tag> -f <dockerfile_path> .
Refer this for additional options.
$ docker run -d -p 80:80 <image_tag>
or
$ docker run -d -p 443:443 <image_tag>
Refer this for additional options.
$ git clone https://github.com/blueapple168/nginx-pagespeed.git
$ docker-compose up -d
Refer this for additional options.
The config is set using environments
PAGESPEED_ENABLE=on # || off
- Be 100% compatible with nginx 1.14.0 image on dockerhub when released, for now 100% compatible with 1.12.2 image
- Create a dockerhub repo