aboutsummaryrefslogtreecommitdiff
path: root/docker/dockerfile
diff options
context:
space:
mode:
Diffstat (limited to 'docker/dockerfile')
-rw-r--r--docker/dockerfile12
1 files changed, 9 insertions, 3 deletions
diff --git a/docker/dockerfile b/docker/dockerfile
index 26b7e49..879f1d4 100644
--- a/docker/dockerfile
+++ b/docker/dockerfile
@@ -1,12 +1,18 @@
FROM repobuildbase:latest
-RUN echo -e '\n[archlinuxcn]\nServer = https://repo.archlinuxcn.org/$arch\n' >> /etc/pacman.conf
+ARG REMOTE_ADDRESS
+
+RUN echo -e '\n[kunoisayami]\nServer = ${REMOTE_ADDRESS}\n' >> /etc/pacman.conf
RUN pacman-key --init
-RUN pacman --noconfirm --needed -Sy archlinuxcn-keyring
+RUN curl -fL https://keys.openpgp.org/vks/v1/by-fingerprint/4A0F0C8BC709ACA4341767FB243975C8DB9656B9 | pacman-key --add -
+
+RUN pacman-key --finger 4A0F0C8BC709ACA4341767FB243975C8DB9656B9
+
+RUN pacman-key --lsign-key 4A0F0C8BC709ACA4341767FB243975C8DB9656B9
-RUN pacman --noconfirm --needed -Su base-devel gnupg git yay
+RUN pacman --noconfirm --needed -Syu base-devel gnupg git yay
RUN useradd -m build