Dockerfile for squid-deb-proxy
10K+
Squid server for cahing distro packages.
# start the server
docker run --name squid-deb-proxy -d -v squid:/data chihchun/squid-deb-proxy
# pass the server IP address via http_proxy enviromenet.
docker build \
--build-arg http_proxy=http://$(docker inspect --format='{{range .NetworkSettings.Networks}}{{.IPAddress}}{{end}}' squid-deb-proxy):8000 .
# See the access by runing the docker instance in frontend
docker run --name squid-deb-proxy \
-i -t --rm -v squid:/data chihchun/squid-deb-proxy
# The squid server by default only allow whitelisted archive server
# you can disable ACL with the "USE_ACL=0" enviromenet, which allow you
# to cache all requests.
docker run --name squid-deb-proxy \
-e USE_ACL=0 \
-i -t --rm -v squid:/data chihchun/squid-deb-proxy
Content type
Image
Digest
Size
89.3 MB
Last updated
over 10 years ago
docker pull chihchun/squid-deb-proxy