diff options
| author | name <[email protected]> | 2020-06-22 18:15:39 +0000 |
|---|---|---|
| committer | name <[email protected]> | 2020-06-22 18:15:39 +0000 |
| commit | 0364d0d63188345cf0e061f6fb5c6980ca85997e (patch) | |
| tree | 98a6c6e1d5ab9aa0d60d2c78a0e743f3cfad9694 /vnc-version | |
| parent | no confirm (diff) | |
| download | docker-osx-0364d0d63188345cf0e061f6fb5c6980ca85997e.tar.xz docker-osx-0364d0d63188345cf0e061f6fb5c6980ca85997e.zip | |
temporary mirror fix
Diffstat (limited to 'vnc-version')
| -rw-r--r-- | vnc-version/Dockerfile | 13 |
1 files changed, 12 insertions, 1 deletions
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' <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 |