{"id":23138471,"url":"https://github.com/deployable/docker-apt-cacher-ng","last_synced_at":"2025-07-09T14:35:04.929Z","repository":{"id":59994518,"uuid":"75228263","full_name":"deployable/docker-apt-cacher-ng","owner":"deployable","description":"Dockerised apt-cacher-ng,  local package cache for multiple distros","archived":false,"fork":false,"pushed_at":"2023-01-14T16:16:30.000Z","size":100,"stargazers_count":19,"open_issues_count":2,"forks_count":7,"subscribers_count":3,"default_branch":"master","last_synced_at":"2023-03-30T13:15:33.379Z","etag":null,"topics":["apt","apt-cacher-ng","apt-proxy","deployable","docker","packages"],"latest_commit_sha":null,"homepage":"","language":"JavaScript","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":null,"status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/deployable.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":null,"code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null}},"created_at":"2016-11-30T21:22:06.000Z","updated_at":"2023-01-25T19:16:39.000Z","dependencies_parsed_at":"2023-02-09T20:00:45.898Z","dependency_job_id":null,"html_url":"https://github.com/deployable/docker-apt-cacher-ng","commit_stats":null,"previous_names":[],"tags_count":null,"template":null,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/deployable%2Fdocker-apt-cacher-ng","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/deployable%2Fdocker-apt-cacher-ng/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/deployable%2Fdocker-apt-cacher-ng/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/deployable%2Fdocker-apt-cacher-ng/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/deployable","download_url":"https://codeload.github.com/deployable/docker-apt-cacher-ng/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":230121666,"owners_count":18176477,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","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-cacher-ng","apt-proxy","deployable","docker","packages"],"created_at":"2024-12-17T13:10:57.166Z","updated_at":"2024-12-17T13:10:57.234Z","avatar_url":"https://github.com/deployable.png","language":"JavaScript","funding_links":[],"categories":[],"sub_categories":[],"readme":"# apt-cacher-ng docker image\n\n[`deployable/acng`](https://hub.docker.com/r/deployable/acng/)\n\nApt-Cacher NG is a caching proxy for linux distribution packages, primarily Debian. https://www.unix-ag.uni-kl.de/~bloch/acng/\n\nThis image for apt-cacher-ng config adds support for:\n\n- Alpine Linux packages from http://dl-cdn.alpinelinux.org\n- Centos mirrors from https://mirrors.centos.org/\n- Fedora mirrors from https://admin.fedoraproject.org/mirrormanager/mirrors/Fedora\n- Epel mirrors from https://admin.fedoraproject.org/mirrormanager/mirrors/EPEL\n- Apache releases from https://www.apache.org/mirrors/dist.html\n- NPM packages from https://registry.yarnpkg.com and https://registry.npmjs.org (proxied CONNECT only)\n- Downloads from http://nodejs.org\n\nThe `au`, `uk` and `us` images configure local mirror backends when geo mirrors are not available. \n\n## Docker Registry Images\n\nThe [`deployable/acng` repository is available on Docker hub](https://hub.docker.com/r/deployable/acng/). \n\nThe image tags available to install are:\n```\ndeployable/acng\ndeployable/acng:latest-au\ndeployable/acng:latest-uk\ndeployable/acng:latest-us\n```\n\n## Run\n\n```\ndocker run \\\n  --restart always \\\n  --detach \\\n  --volume apt-cacher-ng-vol:/var/cache/apt-cacher-ng:rw \\\n  --publish 3142:3142 \\\n  deployable/acng\n```\n\n\n## Build\n\nBuild the image\n\n    ./make.sh build\n\nRun the image\n\n    ./make.sh run\n\nRun a localised image (au, uk, us)\n\n    ./make.sh run:us\n\nRebuild and run \n\n    ./make.sh rebuild\n\nBuild a locale image with local backends configured (`au`, `uk`, `us`)\n\n    ./make.sh build\n    ./make.sh build:au\n\n\n## Mirror and Backend lists\n\nThe latest mirrors can be fetched with `src/fetch-mirrors.js`. This script Requires Node.js 8+ \n\nIt will download and parse the latest Centos, Fedora, Epel and Apache mirror lists into `files/*_mirrors` files for acng.\n\nConfigure your selected backends from those mirrors lists in `files/backends_{name}`. \nThere are packaged au, uk and us backends\n\nThe default acng config in the `deployable/acng:latest` tag has no opinion on backends \n`deployable/acng:latest-au` includes the AU backends, `:latest-uk` and `:latest-us` tags are built as well. \n\n\n## About \n\nDocker Hub: https://hub.docker.com/r/deployable/acng/\nGitHub: https://github.com/deployable/docker-apt-cacher-ng\n\nMatt Hoyle - code atat deployable.co\n\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fdeployable%2Fdocker-apt-cacher-ng","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fdeployable%2Fdocker-apt-cacher-ng","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fdeployable%2Fdocker-apt-cacher-ng/lists"}