aboutsummaryrefslogtreecommitdiff
path: root/Dockerfile
diff options
context:
space:
mode:
authorsickcodes <[email protected]>2021-02-12 18:11:48 +0000
committersickcodes <[email protected]>2021-02-12 18:11:48 +0000
commit4dcf20a362b93e5a1407a350aa3d3e4bbfe8a38e (patch)
tree86ebea1e6e7b2f32cd94b4ee118e5eb70bf2da59 /Dockerfile
parentMerge pull request #150 from MrBenFTW/patch-2 (diff)
downloaddocker-osx-4dcf20a362b93e5a1407a350aa3d3e4bbfe8a38e.tar.xz
docker-osx-4dcf20a362b93e5a1407a350aa3d3e4bbfe8a38e.zip
Kubernetes helm chart submission! Thanks @cephasara
Diffstat (limited to 'Dockerfile')
-rw-r--r--Dockerfile8
1 files changed, 5 insertions, 3 deletions
diff --git a/Dockerfile b/Dockerfile
index 3c6afb6..2314c1d 100644
--- a/Dockerfile
+++ b/Dockerfile
@@ -65,11 +65,13 @@ ARG VERSION=10.15.6
ARG RANKMIRRORS
ARG MIRROR_COUNTRY=US
ARG MIRROR_COUNT=10
+
# TEMP-FIX for pacman issue
-RUN patched_glibc=glibc-linux4-2.33-4-x86_64.pkg.tar.zst && \
-curl -LO "https://repo.archlinuxcn.org/x86_64/$patched_glibc" && \
-bsdtar -C / -xvf "$patched_glibc"
+RUN patched_glibc=glibc-linux4-2.33-4-x86_64.pkg.tar.zst \
+ && curl -LO "https://repo.archlinuxcn.org/x86_64/$patched_glibc" \
+ && bsdtar -C / -xvf "$patched_glibc"
# TEMP-FIX for pacman issue
+
RUN if [[ "${RANKMIRRORS}" ]]; then \
{ pacman -Sy wget --noconfirm || pacman -Syu wget --noconfirm ; } \
; wget -O ./rankmirrors "https://raw.githubusercontent.com/sickcodes/Docker-OSX/master/rankmirrors" \