Skip to content

Instantly share code, notes, and snippets.

@kaz
Last active April 9, 2021 11:26
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save kaz/9229be3f0c29c91efad1829b799943da to your computer and use it in GitHub Desktop.
Save kaz/9229be3f0c29c91efad1829b799943da to your computer and use it in GitHub Desktop.
FROM archlinux:base-devel
RUN pacman -Sy --noconfirm --needed reflector
RUN reflector --country Japan --protocol http --sort rate --save /etc/pacman.d/mirrorlist
FROM archlinux:base-devel
COPY --from=0 /etc/pacman.d/mirrorlist /etc/pacman.d/mirrorlist
RUN printf '[sekai67]\nSigLevel = Optional\nServer = https://sekai67.github.io/aur/$arch/' >> /etc/pacman.conf
RUN pacman -Syu --noconfirm --needed pacman-contrib nano git
RUN sed -i "s/EUID == 0/0/g" /usr/bin/makepkg
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment