summaryrefslogtreecommitdiff
path: root/testenv/Dockerfile
diff options
context:
space:
mode:
authorMaxim Devaev <[email protected]>2022-04-23 16:04:50 +0300
committerMaxim Devaev <[email protected]>2022-04-23 16:04:50 +0300
commite566364b75a140e0eed97f0feff8aa6eeaf2a786 (patch)
tree9aa09c40442929f9f427b37799bbf6571f96d321 /testenv/Dockerfile
parentfbcab5bc57570c6e65c07e16ebc28914529616fe (diff)
fixed keyring in testenv
Diffstat (limited to 'testenv/Dockerfile')
-rw-r--r--testenv/Dockerfile4
1 files changed, 3 insertions, 1 deletions
diff --git a/testenv/Dockerfile b/testenv/Dockerfile
index 46105815..44c975f3 100644
--- a/testenv/Dockerfile
+++ b/testenv/Dockerfile
@@ -3,7 +3,9 @@ FROM archlinux/archlinux:base-devel
RUN mkdir -p /etc/pacman.d/hooks \
&& ln -s /dev/null /etc/pacman.d/hooks/30-systemd-tmpfiles.hook
-RUN echo "Server = http://mirror.yandex.ru/archlinux/\$repo/os/\$arch" > /etc/pacman.d/mirrorlist
+RUN echo "Server = http://mirror.yandex.ru/archlinux/\$repo/os/\$arch" > /etc/pacman.d/mirrorlist \
+ && pacman-key --init \
+ && pacman-key --populate archlinux
RUN pacman --noconfirm --ask=4 -Syy \
&& pacman --needed --noconfirm --ask=4 -S \