Configures a transparent squid proxy to be used automatically by local containers, reducing bandwidth and build time. It is intended for development use only.
The included docker-compose definition launches a container in privileged mode so that the required netfilter rules may be set on the docker host. This project is therefore completely unsuitable for production environments.
- GNU Make
- docker-compose (version 3.6+)
- [optional] python and virutalenv (for
make test)
make up # wrapper for `docker-compose build` and `docker-compuse up`
See the SquidFaq for more
troubleshooting information. Squid logs are written to the local logs/ directory.
To delete logs, cache and other build artifacts:
make clean
This project includes a sample benchmark that exercises the cache. To run the test:
make test