-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Showing
1 changed file
with
26 additions
and
1 deletion.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1 +1,26 @@ | ||
# docker-nginx-testcookie-build | ||
## What is `docker-nginx-testcookie-build`? | ||
|
||
`docker-nginx-testcookie-build` is a tool to build stable deb package Nginx with testcookie module in docker(Debian Stretch image). How’s it works? You create docker container with instructions to build Nginx with testcookie. After starting the container, two deb packages appear in the ./target directory of the project (the package and the package with the active debug option) | ||
|
||
## Usage | ||
|
||
``` | ||
git clone [email protected]:yugov/docker-nginx-testcookie-build.git | ||
cd docker-nginx-testcookie-build | ||
``` | ||
To build conteiner: | ||
``` | ||
make build | ||
(or simple "make". "build" is defaul options) | ||
``` | ||
Usage with proxy server (eq Squid): | ||
``` | ||
export http_proxy="http://login:password@proxy_ip:3128" | ||
export https_proxy="http://login:password@proxy_ip:3128" | ||
make proxy_run | ||
``` | ||
Usage with direct internet access: | ||
``` | ||
make run | ||
``` | ||
Deb packages will appear in the ./target directory. |