diff options
| author | sickcodes <[email protected]> | 2021-02-21 06:38:27 +0000 |
|---|---|---|
| committer | sickcodes <[email protected]> | 2021-02-21 06:38:27 +0000 |
| commit | 6f40c4c4de8e5c2aea704c7b215dd3b2c1b593a8 (patch) | |
| tree | 0edc617d62adc64f4ace5b10412373ebe53fc76a /Dockerfile.auto | |
| parent | Merge pull request #151 from sickcodes/docker-osx-kubernetes (diff) | |
| download | docker-osx-6f40c4c4de8e5c2aea704c7b215dd3b2c1b593a8.tar.xz docker-osx-6f40c4c4de8e5c2aea704c7b215dd3b2c1b593a8.zip | |
3.1. base-devel image to skip simple packages. Add glibc overrides after every pacman -Syu which is currently required for non-Arch builds.
Diffstat (limited to 'Dockerfile.auto')
| -rw-r--r-- | Dockerfile.auto | 14 |
1 files changed, 13 insertions, 1 deletions
diff --git a/Dockerfile.auto b/Dockerfile.auto index bfdfadb..ef6a836 100644 --- a/Dockerfile.auto +++ b/Dockerfile.auto @@ -7,7 +7,7 @@ # # Title: Mac on Docker (Docker-OSX) [AUTOINSTALL] # Author: Sick.Codes https://twitter.com/sickcodes -# Version: 3.0 +# Version: 3.1 # License: GPLv3+ # Repository: https://github.com/sickcodes/Docker-OSX # @@ -69,6 +69,12 @@ RUN if [[ "${RANKMIRRORS}" ]]; then \ ; fi \ ; yes | pacman -Scc +# TEMP-FIX for pacman issue +RUN patched_glibc=glibc-linux4-2.33-4-x86_64.pkg.tar.zst \ + && curl -LO "https://raw.githubusercontent.com/sickcodes/Docker-OSX/master/${patched_glibc}" \ + && bsdtar -C / -xvf "${patched_glibc}" || echo "Everything is fine." +# TEMP-FIX for pacman issue + RUN pacman -Syu xorg-server-xvfb wget xterm xorg-xhost xorg-xrandr sshpass --noconfirm \ && if [[ "${SCROT}" ]]; then \ pacman -Syu scrot base-devel --noconfirm \ @@ -86,6 +92,12 @@ RUN pacman -Syu xorg-server-xvfb wget xterm xorg-xhost xorg-xrandr sshpass --noc ; fi \ ; yes | pacman -Scc +# TEMP-FIX for pacman issue +RUN patched_glibc=glibc-linux4-2.33-4-x86_64.pkg.tar.zst \ + && curl -LO "https://raw.githubusercontent.com/sickcodes/Docker-OSX/master/${patched_glibc}" \ + && bsdtar -C / -xvf "${patched_glibc}" || echo "Everything is fine." +# TEMP-FIX for pacman issue + USER arch WORKDIR /home/arch/OSX-KVM |