Giles Bradshaw 8833a30e16 | ||
---|---|---|
.gitignore | ||
.versionrc | ||
Dockerfile | ||
Makefile | ||
README.md | ||
extra-sources.acl | ||
package.json | ||
start.sh | ||
yarn.lock |
README.md
This is a direct copy of https://github.com/mikepurvis/squid-deb-proxy
It's been copied to push to docker hub with tags rather than just using "latest" so clients can control the version which is pulled.
squid-deb-proxy Docker container
![Gitter](https://badges.gitter.im/Join Chat.svg)
squid-deb-proxy provides an easy wrapper over squid3 to enable package proxy caching for your organisation/LAN.
This Docker container image allows most (if not all) non-routeable LAN subnets and caches from sources found under extra-sources.acl
Usage:
- On Server / Host:
docker run --name proxy --rm -v /path/to/cachedir:/cachedir -p PORT:8000 pmoust/squid-deb-proxy &
- On a node
apt-get install squid-deb-proxy-client
echo 'Acquire::http::Proxy "http://HOST_IP:PORT";' > /etc/apt/apt.conf.d/30autoproxy