A docker image for caching apt packages based on squid-deb-proxy.
361
A docker image for caching apt packages for (the following is in the whitelist /etc/squid-deb-proxy/mirror-dstdomain.acl.d/)
source based on squid-deb-proxy.
Simply run:
docker pull nobodyxu/apt-cache
Use make to build the image.
Simply run make run to run the image as a container and also create a volume and publish the port 8000 for you.
Then add the following to /etc/apt/apt.conf.d/01proxy (create it if not exist) in your other containers or other machines:
Acquire::HTTP::Proxy "http://${HOST_IP}:${APT_PROXY_PORT}";
Acquire::HTTPS::Proxy "false";'
and it is all set!
If you have any problem using this repository or have advices on how to improve, please open a github issue and I will answer you as soon as possible.
Pull request is welcomed.
Content type
Image
Digest
Size
136.4 MB
Last updated
about 7 years ago
docker pull nobodyxu/apt-cache