Skip to content

Commit

Permalink
Update README.md
Browse files Browse the repository at this point in the history
  • Loading branch information
yugov authored Jun 20, 2017
1 parent 8d9d529 commit 44a5803
Showing 1 changed file with 26 additions and 1 deletion.
27 changes: 26 additions & 1 deletion README.md
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.

0 comments on commit 44a5803

Please sign in to comment.