{"id":15768820,"url":"https://github.com/nobodyxu/apt-cache","last_synced_at":"2026-05-05T12:33:15.153Z","repository":{"id":109423471,"uuid":"198446249","full_name":"NobodyXu/apt-cache","owner":"NobodyXu","description":"A docker image for caching apt packages based on squid-deb-proxy.","archived":false,"fork":false,"pushed_at":"2019-08-16T13:04:14.000Z","size":14,"stargazers_count":2,"open_issues_count":0,"forks_count":1,"subscribers_count":0,"default_branch":"master","last_synced_at":"2025-09-29T10:52:00.277Z","etag":null,"topics":["apt","apt-cache","debian-buster","docker","docker-cloud","docker-image","server","squid-deb-proxy"],"latest_commit_sha":null,"homepage":null,"language":"Shell","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"mit","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/NobodyXu.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":"LICENSE","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null}},"created_at":"2019-07-23T14:22:16.000Z","updated_at":"2022-11-15T09:19:04.000Z","dependencies_parsed_at":"2023-03-23T03:47:51.785Z","dependency_job_id":null,"html_url":"https://github.com/NobodyXu/apt-cache","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/NobodyXu/apt-cache","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/NobodyXu%2Fapt-cache","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/NobodyXu%2Fapt-cache/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/NobodyXu%2Fapt-cache/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/NobodyXu%2Fapt-cache/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/NobodyXu","download_url":"https://codeload.github.com/NobodyXu/apt-cache/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/NobodyXu%2Fapt-cache/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":32649570,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-05-05T11:29:49.557Z","status":"ssl_error","status_checked_at":"2026-05-05T11:29:48.587Z","response_time":54,"last_error":"SSL_connect returned=1 errno=0 peeraddr=140.82.121.5:443 state=error: unexpected eof while reading","robots_txt_status":"success","robots_txt_updated_at":"2025-07-24T06:49:26.215Z","robots_txt_url":"https://github.com/robots.txt","online":false,"can_crawl_api":true,"host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":["apt","apt-cache","debian-buster","docker","docker-cloud","docker-image","server","squid-deb-proxy"],"created_at":"2024-10-04T14:01:17.969Z","updated_at":"2026-05-05T12:33:15.125Z","avatar_url":"https://github.com/NobodyXu.png","language":"Shell","funding_links":[],"categories":[],"sub_categories":[],"readme":"# apt-cache\n\n![Docker Cloud Automated build](https://img.shields.io/docker/cloud/automated/nobodyxu/apt-cache.svg)\n![Docker Cloud Build Status](https://img.shields.io/docker/cloud/build/nobodyxu/apt-cache.svg)\n\n![MicroBadger Size (tag)](https://img.shields.io/microbadger/image-size/nobodyxu/apt-cache/latest)\n\nA docker image for caching apt packages for (the following is in the whitelist `/etc/squid-deb-proxy/mirror-dstdomain.acl.d/`)\n\n - debian\n - raspberry pi\n - ubuntu official source\n - ubuntu PPA\n - canonical's partner \n - docker-ce\n\nsource based on squid-deb-proxy.\n\n# Usage\n\n## Pull from docker hub\n\nSimply run:\n\n```\ndocker pull nobodyxu/apt-cache\n```\n\n## Build it yourself\n\nUse `make` to build the image.\n\n## How to run it\n\nSimply run `make run` to run the image as a container and also create a volume and publish the port 8000 for you.\n\n## Use the proxy\n\nThen add the following to `/etc/apt/apt.conf.d/01proxy` (create it if not exist) in your other containers or other machines:\n\n```\nAcquire::HTTP::Proxy \"http://${HOST_IP}:${APT_PROXY_PORT}\";\nAcquire::HTTPS::Proxy \"false\";'\n```\n\nand it is all set!\n\nIf 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 \nas possible.\n\nPull request is welcomed.\n\n# Reference:\n\n 1. https://github.com/sameersbn/docker-apt-cacher-ng\n 2. https://gist.github.com/dergachev/8441335\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fnobodyxu%2Fapt-cache","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fnobodyxu%2Fapt-cache","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fnobodyxu%2Fapt-cache/lists"}