Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Sign in / Register
Toggle navigation
A
apt-cacher-ng-docker
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Locked Files
Issues
0
Issues
0
List
Boards
Labels
Service Desk
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Security & Compliance
Security & Compliance
Dependency List
License Compliance
Packages
Packages
List
Container Registry
Analytics
Analytics
CI / CD
Code Review
Insights
Issues
Repository
Value Stream
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
nanahira
apt-cacher-ng-docker
Commits
3d3869fe
Commit
3d3869fe
authored
Jul 30, 2021
by
nanahira
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
add more mirrors
parent
1f0d303c
Pipeline
#4372
passed with stages
in 39 seconds
Changes
2
Pipelines
1
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
11 additions
and
0 deletions
+11
-0
Dockerfile
Dockerfile
+5
-0
acng.conf.template
acng.conf.template
+6
-0
No files found.
Dockerfile
View file @
3d3869fe
...
...
@@ -10,5 +10,10 @@ RUN ln -s /dev/stdout /var/log/apt-cacher-ng/apt-cacher.log && ln -s /dev/stderr
EXPOSE
80/tcp
ENV
UPSTREAM_MIRROR http://mirrors.tuna.tsinghua.edu.cn
ENV
UPSTREAM_MIRROR_DOCKER ${UPSTREAM_MIRROR}/docker-ce
ENV
UPSTREAM_MIRROR_XANMOD http://deb.xanmod.org
ENV
UPSTREAM_MIRROR_DEEPINWINE https://deepin-wine.i-m.dev
ENV
UPSTREAM_MIRROR_NVIDIA https://nvidia.github.io
ENTRYPOINT
[ "/usr/bin/entrypoint.sh" ]
CMD
[ "/usr/sbin/apt-cacher-ng", "-c", "/etc/apt-cacher-ng" ]
acng.conf.template
View file @
3d3869fe
...
...
@@ -69,6 +69,12 @@ Remap-epel: file:epel_mirrors # Fedora EPEL
Remap-slrep: file:sl_mirrors # Scientific Linux
Remap-gentoo: file:gentoo_mirrors.gz /gentoo ; file:backends_gentoo # Gentoo Archives
Remap-debdeb: /debian-security ; ${UPSTREAM_MIRROR}/debian-security
Remap-allmirror: /mirror ; ${UPSTREAM_MIRROR}
Remap-docker: /docker-ce ; ${UPSTREAM_MIRROR_DOCKER}
Remap-dockerce: /docker ; ${UPSTREAM_MIRROR_DOCKER}
Remap-xanmod: /xanmod ; ${UPSTREAM_MIRROR_XANMOD}
Remap-deepinwine: /deepin-wine ; ${UPSTREAM_MIRROR_DEEPINWINE}
Remap-nvidia: /nvidia ; ${UPSTREAM_MIRROR_NVIDIA}
# Virtual page accessible in a web browser to see statistics and status
# information, i.e. under http://localhost:3142/acng-report.html
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment