fix: wsl pacman.conf changed

This commit is contained in:
Kuoi 2024-03-25 02:46:10 +08:00 committed by GitHub
parent afd3510fbb
commit cc03f8cd23
No known key found for this signature in database
GPG key ID: B5690EEEBB952194

View file

@ -8,9 +8,8 @@ RUN pacman-key --init
RUN pacman-key --lsign-key B1F96021DB62254D
# add bioarchlinux to pacman.conf
RUN curl https://raw.githubusercontent.com/BioArchLinux/mirror/main/pacman.conf.bio -o /etc/pacman.conf
RUN curl https://raw.githubusercontent.com/BioArchLinux/iso/master/bio/pacman.conf -o /etc/pacman.conf
RUN curl https://raw.githubusercontent.com/BioArchLinux/mirror/main/mirrorlist.bio -o /etc/pacman.d/mirrorlist.bio
RUN sed -i '2,2s/# //g' /etc/pacman.d/mirrorlist.bio
# install keyring and mirrorlist packages
RUN pacman -Syu --noconfirm