Commit 3d3869fe authored by nanahira's avatar nanahira

add more mirrors

parent 1f0d303c
Pipeline #4372 passed with stages
in 39 seconds
......@@ -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" ]
......@@ -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
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment