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