Dockerfiles for building Centos/Amazon Linux based Nginx LuaJIT image.
latest(1.14.0/Dockerfile)1.20.2(1.13.4/Dockerfile)1.14.0(1.14.0/Dockerfile)1.13.4(1.13.4/Dockerfile)angular(1.11.10/Dockerfile)
This image has been deprecated in favor of the automated nginx image provided. The upstream images are available to pull via docker.elastic.co/phenompeople/nginx:[version] like 1.13.4. The images found here will receive no further updates. Please adjust your usage accordingly.
1.11.10latestpodangularmicrosoft
- PCRE - Perl Compatible Regular Expressions library is a set of functions that implement regular expression pattern matching using the same syntax and semantics as Perl 5. PCRE has its own native API, as well as a set of wrapper functions that correspond to the POSIX regular expression API.
- ZLIB - zlib is designed to be a free, general-purpose, legally unencumbered -- that is, not covered by any patents -- lossless data-compression library for use on virtually any computer hardware and operating system
- OPENSSL - OpenSSL is a robust, commercial-grade, and full-featured toolkit for the Transport Layer Security (TLS) and Secure Sockets Layer (SSL) protocols. It is also a general-purpose cryptography library.
- DEV KIT - Nginx Development Kit - an Nginx module that adds additional generic tools that module developers can use in their own modules
- AJP - Nginx can connect to AJP port directly. The motivation of including these modules is Nginx's high performance and robustness.
- STICKY - Nginx module to add a sticky cookie to be always forwarded to the same upstream server.
- LUA - Embed the Power of Lua into NGINX HTTP servers
|---------------------------------|------------|------------|-------------|
| **Component Name** |**latest** |**1.14.0** | **1.13.9** |
|---------------------------------|------------|------------|-------------|
| Nginx - Core | 1.14.0 | 1.14.0 | 1.13.9 |
|---------------------------------|------------|------------|-------------|
| Open SSL | 1.1.1 | 1.1.1 | 1.0.2n |
|---------------------------------|------------|------------|-------------|
| PCRE | 8.42 | 8.42 | 8.41 |
|---------------------------------|------------|------------|-------------|
| ZLIB | 1.2.11 | 1.2.11 | 1.2.11 |
|---------------------------------|------------|------------|-------------|
| LUAJIT | 2.0.5 | 2.0.5 | 2.0.5 |
|---------------------------------|------------|------------|-------------|
| Nginx Dev Kit | v0.3.0 | v0.3.0 | v0.3.0 |
|---------------------------------|------------|------------|-------------|
| Nginx Lua Mod Version | v0.10.11 | v0.10.11 | v0.10.10 |
|---------------------------------|------------|------------|-------------|
| Nginx Sticky Module | master | master | N/A |
|---------------------------------|------------|------------|-------------|
| Nginx AJP Module | master | master | master |
|---------------------------------|------------|------------|-------------|
- install docker-engine https://docs.docker.com/engine/installation/
- This image can be used by simply running
$ docker run --name=nginx -v /etc/nginx/conf.d:/etc/nginx/conf.d -v /usr/share/nginx/html:/usr/share/nginx/html -p 80:80 -td phenompeople/nginx:latest
Above command runs nginx container with port 80 mapped to host and connecting to static site and its respective configuration mapped
- To make nginx as a reverse proxy and use persistent and updated configuration file(s) map only /etc/nginx/conf.d directory
$ docker run --name=nginx -v /etc/nginx/conf.d:/etc/nginx/conf.d -p 80:80 -td phenompeople/nginx:latest
- To make nginx as a reverse proxy and use persistent and updated configuration file(s) and TSL/SSL enabled map only /etc/nginx/conf.d directory. Please note that your configuration files should point to the said directory
$ docker run --name=nginx -v /etc/nginx/conf.d:/etc/nginx/conf.d -v /etc/nginx/ssl:/etc/nginx/ssl -p 80:80 -p 443:443 -td phenompeople/nginx:latest
Above command runs nginx container with port 80 mapped to host and connecting to static site and its respective configuration mapped
- To make image run even after reboot use extra option --restart=always
$ docker run --restart=always --name=nginx -v /etc/nginx/conf.d:/etc/nginx/conf.d -v /usr/share/nginx/html:/usr/share/nginx/html -p 80:80 -td phenompeople/nginx:latest
- Please define below variables during run time to replace default values, angular JS based container will require DIRECTORY_ROOT to map application
- Rajesh Jonnalagadda (rajesh.jonnalagadda@phenompeople.com)
License: Apache License
Author : Phenompeople Pvt Ltd (admin.squad@phenompeople.com)