项目作者: mmpx12

项目描述 :
docker arch mirroring
高级语言: Shell
项目地址: git://github.com/mmpx12/docker-arch-mirroring.git
创建时间: 2019-03-09T04:07:17Z
项目社区:https://github.com/mmpx12/docker-arch-mirroring

开源协议:

下载


docker-arch-mirroring

Run as root bash install.sh

enter your domain name (or localhost for local).

Edit the install.sh for change port (default 80) .

If dont lunch the container with the install.sh run:

  1. docker run -d --restart always -p 80:80 arch-mirroring

Default sync every hour at x:46 (change it in The dockerfile).

Default mirror locate in france. (Change it in arch_sync.sh).

No https yet..

Then add Server = arch.[Your domain name]/$repo/os/$arch in the top of your /etc/pacman.d/mirrorlist