Commit 01953d0e authored by Michał 'rysiek' Woźniak's avatar Michał 'rysiek' Woźniak
Browse files

Merge branch 'master' of

parents b6545f40 3d564828
......@@ -12,6 +12,13 @@ The `NGINX_VERSION` build argument controls the `nginx` package version that is
**NOTICE: package versions in official Debian repositories are much older than on ``; hence, when using them, remember to set `NGINX_VERSION` accordingly. As of this writing Debian jessie package version is at `1.6*`.**
## Environment variables
***More documentation needed here***
- `NGINX_BOOT` (default: unset)
if set to string `"false"`, the entrypoint script will exit immediately before running `nginx`, in effect making it possible to use the image to generate `dhparam` file and quit (curtesy [@cguess](
### Examples
Building the image with `nginx` package from ``, version `1.11.x` (i.e. the default):
......@@ -66,6 +66,11 @@ else
echo "+-- dhparam found in $DHPARAM_FILE"
if [ "$NGINX_BOOT" = "false" ]; then
echo "NGINX_BOOT is set to false, exiting."
# start the watch
watch_logfiles &
sleep 1
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment