aboutsummaryrefslogtreecommitdiff
path: root/docker/dockerfile
diff options
context:
space:
mode:
Diffstat (limited to 'docker/dockerfile')
-rw-r--r--docker/dockerfile8
1 files changed, 7 insertions, 1 deletions
diff --git a/docker/dockerfile b/docker/dockerfile
index 4ae53aa..87fe5d1 100644
--- a/docker/dockerfile
+++ b/docker/dockerfile
@@ -1,6 +1,12 @@
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-key --init
+
+RUN pacman --noconfirm --needed -Sy archlinuxcn-keyring
+
+RUN pacman --noconfirm --needed -Su base-devel gnupg git yay
RUN useradd -m build