Skip to content

Commit

Permalink
Remove archlinuxcn
Browse files Browse the repository at this point in the history
  • Loading branch information
chuxubank committed Dec 13, 2023
1 parent 7351d7d commit 41c6b26
Showing 1 changed file with 1 addition and 5 deletions.
6 changes: 1 addition & 5 deletions Dockerfile
Original file line number Diff line number Diff line change
@@ -1,17 +1,13 @@
# syntax = docker/dockerfile:1.2
FROM archlinux

RUN echo -e "[archlinuxcn]\nServer = https://mirrors.cernet.edu.cn/archlinuxcn/\$arch" >> /etc/pacman.conf
RUN echo "Server = https://mirrors.cernet.edu.cn/archlinux/\$repo/os/\$arch" > /etc/pacman.d/mirrorlist

RUN --mount=type=cache,sharing=locked,target=/var/cache/pacman \
gpgconf --kill gpg-agent && \
rm -rf /etc/pacman.d/gnupg && \
pacman-key --init && \
pacman-key --populate && \
pacman -Syyu --noconfirm --needed \
archlinux-keyring \
archlinuxcn-keyring
archlinux-keyring

RUN --mount=type=cache,sharing=locked,target=/var/cache/pacman \
pacman -Syyu --noconfirm --needed \
Expand Down

0 comments on commit 41c6b26

Please sign in to comment.