From 0364d0d63188345cf0e061f6fb5c6980ca85997e Mon Sep 17 00:00:00 2001 From: name Date: Mon, 22 Jun 2020 18:15:39 +0000 Subject: [PATCH] temporary mirror fix --- vnc-version/Dockerfile | 13 ++++++++++++- 1 file changed, 12 insertions(+), 1 deletion(-) diff --git a/vnc-version/Dockerfile b/vnc-version/Dockerfile index ca550e3..5001bb1 100644 --- a/vnc-version/Dockerfile +++ b/vnc-version/Dockerfile @@ -76,9 +76,20 @@ FROM sickcodes/docker-osx:latest MAINTAINER 'https://sick.codes' +USER root + +RUN tee -a /etc/pacman.d/mirrorlist <<< 'Server = http://mirrors.evowise.com/archlinux/$repo/os/$arch' +RUN tee -a /etc/pacman.d/mirrorlist <<< 'Server = http://mirror.rackspace.com/archlinux/$repo/os/$arch' +RUN tee -a /etc/pacman.d/mirrorlist <<< 'Server = https://mirror.rackspace.com/archlinux/$repo/os/$arch' + +# ARG MIRROR_COUNTRY=US +# RUN curl -s "https://www.archlinux.org/mirrorlist/?country=${MIRROR_COUNTRY}&protocol=https&use_mirror_status=on" | \ +# sed -e 's/^#Server/Server/' -e '/^#/d' | \ +# rankmirrors -n 5 - > /etc/pacman.d/mirrorlist + USER arch -RUN sudo pacman -Syu --noconfirm +RUN sudo pacman -Sy --noconfirm RUN sudo pacman -S tigervnc xterm xorg-xhost xdotool ufw --noconfirm RUN mkdir ${HOME}/.vnc