File tree Expand file tree Collapse file tree 1 file changed +4
-1
lines changed Expand file tree Collapse file tree 1 file changed +4
-1
lines changed Original file line number Diff line number Diff line change @@ -13,7 +13,10 @@ $ docker build --build-arg ENABLED_MODULES="ndk lua" -t my-nginx-with-lua .
1313This command will attempt to build an image called ` my-nginx-with-lua ` based on
1414official nginx docker hub image with two modules: ` ndk ` and ` lua ` .
1515By default, a Debian-based image will be used. If you wish to use Alpine
16- instead, add ` -f Dockerfile.alpine ` to the command line.
16+ instead, add ` -f Dockerfile.alpine ` to the command line. By default, mainline
17+ images are used as a base, but it's possible to specify a different image by
18+ providing ` NGINX_FROM_IMAGE ` build argument, e.g. `--build-arg
19+ NGINX_FROM_IMAGE=nginx: stable `.
1720
1821The build script will look for module build definition files on filesystem
1922directory under the same name as the module (and resulting package) and if
You can’t perform that action at this time.
0 commit comments