Skip to content

moujikov/nginx-docker-builder

Folders and files

NameName
Last commit message
Last commit date

Latest commit

History

20 Commits

Repository files navigation

Nginx builder inside Docker container

Nginx Development Environment based on official docker image and official source code.

Build Docker container

# build all with: ./build # or: ./build alpine ./build debian

Pull ready to use Docker container

docker pull moujikov/nginx-docker-builder:1.25.3 docker pull moujikov/nginx-docker-builder:1.25.3-alpine

Build nginx

To configure nginx build with default options run /usr/src/nginx/configure.sh. You can printf additional parameters to this file or edit it manually.

It is essential to use .sh file – we can't store command line parameters in a variable, since bash will ignore quoting by word splitting in constructions like /usr/src/nginx/configue ${ALL_MY_PARAMS} and, e.g. --with-cc-opt='-g -O2 -fPIC' will become 3 parameters with quotes included as is.

Example:

cd /usr/src/nginx printf" --add-dynamic-module=${MODULE_PATH}">> configure.sh ./configure.sh make make modules make install

About

Nginx Development Environment based on official docker image.

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • Shell100.0%