diff options
| author | sickcodes <[email protected]> | 2021-08-27 16:13:04 +0000 |
|---|---|---|
| committer | sickcodes <[email protected]> | 2021-08-27 16:13:04 +0000 |
| commit | 31c95fd640f70c657235f7440eca173500c6c9ae (patch) | |
| tree | d3868202f7aba5bd3be3bb8a7e7557f0bc2ef5d1 /Dockerfile.naked | |
| parent | Merge pull request #334 from mcandre/patch-1 (diff) | |
| download | docker-osx-31c95fd640f70c657235f7440eca173500c6c9ae.tar.xz docker-osx-31c95fd640f70c657235f7440eca173500c6c9ae.zip | |
Fix MAC_PASSWORD variable name (should be PASSWORD), Add docs for folder sharing
Diffstat (limited to 'Dockerfile.naked')
| -rw-r--r-- | Dockerfile.naked | 19 |
1 files changed, 10 insertions, 9 deletions
diff --git a/Dockerfile.naked b/Dockerfile.naked index 7f2dbb2..7f485de 100644 --- a/Dockerfile.naked +++ b/Dockerfile.naked @@ -46,15 +46,16 @@ ARG RANKMIRRORS ARG MIRROR_COUNTRY=US ARG MIRROR_COUNT=10 RUN if [[ "${RANKMIRRORS}" ]]; then { pacman -Sy wget --noconfirm || pacman -Syu wget --noconfirm ; } \ - ; wget -O ./rankmirrors "https://raw.githubusercontent.com/sickcodes/Docker-OSX/master/rankmirrors" \ - ; wget -O- "https://www.archlinux.org/mirrorlist/?country=${MIRROR_COUNTRY:-US}&protocol=https&use_mirror_status=on" \ - | sed -e 's/^#Server/Server/' -e '/^#/d' \ - | head -n "$((${MIRROR_COUNT:-10}+1))" \ - | bash ./rankmirrors --verbose --max-time 5 - > /etc/pacman.d/mirrorlist \ - && tee -a /etc/pacman.d/mirrorlist <<< 'Server = http://mirrors.evowise.com/archlinux/$repo/os/$arch' \ - && tee -a /etc/pacman.d/mirrorlist <<< 'Server = http://mirror.rackspace.com/archlinux/$repo/os/$arch' \ - && tee -a /etc/pacman.d/mirrorlist <<< 'Server = https://mirror.rackspace.com/archlinux/$repo/os/$arch' \ - && cat /etc/pacman.d/mirrorlist ; fi + ; wget -O ./rankmirrors "https://raw.githubusercontent.com/sickcodes/Docker-OSX/master/rankmirrors" \ + ; wget -O- "https://www.archlinux.org/mirrorlist/?country=${MIRROR_COUNTRY:-US}&protocol=https&use_mirror_status=on" \ + | sed -e 's/^#Server/Server/' -e '/^#/d' \ + | head -n "$((${MIRROR_COUNT:-10}+1))" \ + | bash ./rankmirrors --verbose --max-time 5 - > /etc/pacman.d/mirrorlist \ + && tee -a /etc/pacman.d/mirrorlist <<< 'Server = http://mirrors.evowise.com/archlinux/$repo/os/$arch' \ + && tee -a /etc/pacman.d/mirrorlist <<< 'Server = http://mirror.rackspace.com/archlinux/$repo/os/$arch' \ + && tee -a /etc/pacman.d/mirrorlist <<< 'Server = https://mirror.rackspace.com/archlinux/$repo/os/$arch' \ + && cat /etc/pacman.d/mirrorlist \ + ; fi # For taking screenshots of the Xfvb screen, useful during development. ARG SCROT |