mirror of
https://git.jabber.space/devs/cproof.git
synced 2026-07-30 09:56:21 +00:00
fix(docker): error handling for reflector installation
This commit is contained in:
@@ -3,7 +3,9 @@ FROM archlinux
|
|||||||
ENV TERM=xterm
|
ENV TERM=xterm
|
||||||
|
|
||||||
RUN pacman -Syu --noconfirm
|
RUN pacman -Syu --noconfirm
|
||||||
RUN pacman -S --needed --noconfirm reflector && reflector --latest 20 --protocol https --sort rate --save /etc/pacman.d/mirrorlist
|
# reflector is optional - if it fails due to network issues, continue with default mirrorlist
|
||||||
|
RUN pacman -S --needed --noconfirm reflector && \
|
||||||
|
(reflector --latest 20 --protocol https --sort rate --save /etc/pacman.d/mirrorlist || true)
|
||||||
RUN pacman-key --init
|
RUN pacman-key --init
|
||||||
RUN pacman -S --needed --noconfirm \
|
RUN pacman -S --needed --noconfirm \
|
||||||
autoconf \
|
autoconf \
|
||||||
|
|||||||
Reference in New Issue
Block a user