From e566364b75a140e0eed97f0feff8aa6eeaf2a786 Mon Sep 17 00:00:00 2001 From: Maxim Devaev Date: Sat, 23 Apr 2022 16:04:50 +0300 Subject: [PATCH] fixed keyring in testenv --- testenv/Dockerfile | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) 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 \