mirror of
https://github.com/khuedoan/homelab.git
synced 2025-02-02 04:14:28 +07:00
Improve tools container package download speed
This commit is contained in:
parent
83b304f9cd
commit
e355ca8442
@ -21,6 +21,7 @@
|
||||
- [(optimize) Put Wireguard allowed public keys somewhere else](../infra/modules/vpn/ansible/roles/wireguard/defaults/main.yml#L2)
|
||||
- [(optimize) Use btrfs in k8s 1.19.8 https](../metal/roles/lxd/templates/leader.yaml.j2#L17)
|
||||
- [(optimize) Use metal values for MetalLB values](../infra/modules/kubernetes-bootstrap/values/metallb.yaml#L6)
|
||||
- [(optimize) Use reflector to generate mirrorlist dynamically](../tools/Dockerfile#L3)
|
||||
- [(optimize) Use template for tfvars](../metal/roles/lxd/tasks/main.yml#L38)
|
||||
- [Simple script to backup everything](../scripts/backup.sh#L3)
|
||||
- [Simple script to restore everything](../scripts/restore.sh#L3)
|
||||
|
@ -1,5 +1,8 @@
|
||||
FROM archlinux
|
||||
|
||||
# TODO (optimize) Use reflector to generate mirrorlist dynamically
|
||||
COPY ./mirrorlist /etc/pacman.d/mirrorlist
|
||||
|
||||
RUN yes | pacman --sync --refresh \
|
||||
ansible \
|
||||
curl \
|
||||
|
30
tools/mirrorlist
Normal file
30
tools/mirrorlist
Normal file
@ -0,0 +1,30 @@
|
||||
################################################################################
|
||||
################# Arch Linux mirrorlist generated by Reflector #################
|
||||
################################################################################
|
||||
|
||||
# With: reflector @/etc/xdg/reflector/reflector.conf
|
||||
# When: 2021-05-09 03:17:56 UTC
|
||||
# From: https://www.archlinux.org/mirrors/status/json/
|
||||
# Retrieved: 2021-05-09 03:15:38 UTC
|
||||
# Last Check: 2021-05-09 02:21:10 UTC
|
||||
|
||||
Server = https://mirror.osbeck.com/archlinux/$repo/os/$arch
|
||||
Server = https://asia.mirror.pkgbuild.com/$repo/os/$arch
|
||||
Server = https://mirror.archlinux.no/$repo/os/$arch
|
||||
Server = https://mirror.telepoint.bg/archlinux/$repo/os/$arch
|
||||
Server = https://mirror.pseudoform.org/$repo/os/$arch
|
||||
Server = https://europe.mirror.pkgbuild.com/$repo/os/$arch
|
||||
Server = https://america.mirror.pkgbuild.com/$repo/os/$arch
|
||||
Server = https://archlinux.thaller.ws/$repo/os/$arch
|
||||
Server = https://arch.mirror.square-r00t.net/$repo/os/$arch
|
||||
Server = https://mirror.dkm.cz/archlinux/$repo/os/$arch
|
||||
Server = https://mirror.f4st.host/archlinux/$repo/os/$arch
|
||||
Server = https://mirror.lty.me/archlinux/$repo/os/$arch
|
||||
Server = https://ftp.sh.cvut.cz/arch/$repo/os/$arch
|
||||
Server = https://mirror.cyberbits.eu/archlinux/$repo/os/$arch
|
||||
Server = https://mirror.chaoticum.net/arch/$repo/os/$arch
|
||||
Server = https://archmirror.it/repos/$repo/os/$arch
|
||||
Server = https://ftp.halifax.rwth-aachen.de/archlinux/$repo/os/$arch
|
||||
Server = https://mirror.dal10.us.leaseweb.net/archlinux/$repo/os/$arch
|
||||
Server = https://mirror.fra10.de.leaseweb.net/archlinux/$repo/os/$arch
|
||||
Server = https://mirror.sfo12.us.leaseweb.net/archlinux/$repo/os/$arch
|
Loading…
Reference in New Issue
Block a user