From 23351c4e65346e917a3e80b2eeb13eb97c8d3817 Mon Sep 17 00:00:00 2001 From: ytshih Date: Thu, 31 Oct 2024 19:34:00 +0000 Subject: [PATCH] Modify: Use cs.nycu mirror --- Dockerfile | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/Dockerfile b/Dockerfile index fc06553..4759d8d 100644 --- a/Dockerfile +++ b/Dockerfile @@ -1,10 +1,15 @@ FROM archlinux:base-devel +RUN cat > /etc/pacman.d/mirrorlist <<'EOF' +Server = https://archlinux.cs.nycu.edu.tw/$repo/os/$arch +EOF + RUN cat >> /etc/pacman.conf <<'EOF' [custom] SigLevel = Optional TrustAll Server = http://repo.konchin.com/$repo/os/$arch EOF + RUN pacman-key --init && pacman-key --populate RUN pacman -Syu --needed --noconfirm nodejs minio-client git