mirror of
https://github.com/mofeng-git/One-KVM.git
synced 2025-12-12 01:00:29 +08:00
fixed keyring in testenv
This commit is contained in:
parent
fbcab5bc57
commit
e566364b75
@ -3,7 +3,9 @@ FROM archlinux/archlinux:base-devel
|
|||||||
RUN mkdir -p /etc/pacman.d/hooks \
|
RUN mkdir -p /etc/pacman.d/hooks \
|
||||||
&& ln -s /dev/null /etc/pacman.d/hooks/30-systemd-tmpfiles.hook
|
&& 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 \
|
RUN pacman --noconfirm --ask=4 -Syy \
|
||||||
&& pacman --needed --noconfirm --ask=4 -S \
|
&& pacman --needed --noconfirm --ask=4 -S \
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user