Skip to content

Latest commit

 

History

History
37 lines (29 loc) · 1.11 KB

README.md

File metadata and controls

37 lines (29 loc) · 1.11 KB

About

For build nginx for Ubuntu with another openssl libs and additional module https://github.com/vozlt/nginx-module-vts.

Default: with vts 0.1.18, nginx 1.18.0 (http://nginx.org/packages/ubuntu/dists/), ubuntu: 20.04, openssl depenfind on the distribution.

Build

https://wiki.debian.org/BuildingTutorial - how to build packages with Debian/Ubuntu

docker build -t build-nginx ./
docker run -t -i --rm build-nginx /bin/bash
debuild -b -uc -us

For change nginx version use build-args. For Example:

docker build --build-arg nginx_version=1.18.0 -t build-nginx ./
docker run -t -i --rm build-nginx /bin/bash
debuild -b -uc -us

For change openssl version use build-args. For Example:

docker build --build-arg custom_ssl=true --build-arg openssl=openssl-1.0.1t -t build-nginx ./
docker run -t -i --rm build-nginx /bin/bash
debuild -b -uc -us

For change ubuntu version

docker build --build-arg ubuntu_codename=bionic --build-arg ubuntu_version=18.04 -t build-nginx ./
docker run -t -i --rm build-nginx /bin/bash
debuild -b -uc -us

deb packages will be create in the /root/ dir.