Giter Site home page Giter Site logo

image-fuzzy-alpine-nginx-pagespeed's Introduction

image-fuzzy-alpine-nginx-pagespeed

Fuzzy as in reference to the https://en.wikipedia.org/wiki/The_Mythical_Man-Month book where Fred describes the approach of "write one to throw away" as the best start.

Nginx compiled with PageSpeed optimisation library on Alpine Linux.

Maintained by: Aleksi Johansson [email protected]

Docker

Image

This image is available publicly at:

  • quay.io/wunder/fuzzy-alpine-nginx-pagespeed : Docker Repository on Quay

Base

This image is based on the fuzzy-alpine-base image https://github.com/wunderkraut/image-fuzzy-alpine-base.

Modifications

This image adds the following files:

/etc/nginx/nginx.conf

This is a custom nginx configuration:

  1. runs as app;
  2. include additional configs from /etc/nginx/conf.d/*.conf;
  3. limit worker connections to 4096.

Using this Image

This image is meant to be extended to application specific images by adding custom configuration.

Versioning is based on Nginx releases. Please see the release notes for detailed information about the versions. After pulling the version of the image you want you can also inspect the version values by running:

docker inspect quay.io/wunder/fuzzy-alpine-nginx-pagespeed
...
"Env": [
  "PATH=/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin",
  "LIBPNG_VERSION=1.2.56",
  "PAGESPEED_VERSION=1.11.33.4",
  "NGINX_VERSION=1.11.5"
],
...

Run this container as an independent service:

$/> docker run -d quay.io/wunder/fuzzy-alpine-nginx-pagespeed

map any needed services such as php-fpm and mount any source code volumes to whatever path needed:

$/> docker run -d \
      -v "$(pwd):/app/web" \
      -l "my_running_fpm_container:fpm.app" \
      quay.io/wunder/fuzzy-alpine-nginx-pagespeed

TODO

  • Create script for automatically diffing structure changes in mod_pagespeed which we have to manually build
    • diff -rq psol psol_from_container >> differences.txt
    • cat differences.txt | grep "Only in psol/"
  • Inform the Google team we are using the tarballs to build for Alpine and they save a great deal of time

image-fuzzy-alpine-nginx-pagespeed's People

Contributors

iler avatar wernight avatar

Watchers

 avatar  avatar  avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.