aboutsummaryrefslogtreecommitdiff
path: root/docker/dockerfile
diff options
context:
space:
mode:
Diffstat (limited to 'docker/dockerfile')
-rw-r--r--docker/dockerfile6
1 files changed, 5 insertions, 1 deletions
diff --git a/docker/dockerfile b/docker/dockerfile
index 4ae53aa..f831a36 100644
--- a/docker/dockerfile
+++ b/docker/dockerfile
@@ -1,6 +1,10 @@
FROM repobuildbase:latest
-RUN pacman --noconfirm --needed -Syu base-devel gnupg git
+RUN echo -e "\n[archlinuxcn]\nServer = https://repo.archlinuxcn.org/$$arch\n" >> /etc/pacman.conf
+
+RUN pacman --noconfirm --needed -Sy archlinuxcn-keyring
+
+RUN pacman --noconfirm --needed -Su base-devel gnupg git yay
RUN useradd -m build