aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorBen Mitchell <[email protected]>2021-02-12 15:50:11 +0000
committerGitHub <[email protected]>2021-02-12 15:50:11 +0000
commit7cc833046f4ea0c6c5017b40429d91812a4e5706 (patch)
treec807af3550ca6686366c8faf9b1150fe36150fb2
parentPackage the helm setup for Artifact Hub. (diff)
downloaddocker-osx-7cc833046f4ea0c6c5017b40429d91812a4e5706.tar.xz
docker-osx-7cc833046f4ea0c6c5017b40429d91812a4e5706.zip
Tempfix for arch
Temporarily downgrade glibc while a new version is being made.
-rw-r--r--Dockerfile5
1 files changed, 5 insertions, 0 deletions
diff --git a/Dockerfile b/Dockerfile
index c13255b..3c6afb6 100644
--- a/Dockerfile
+++ b/Dockerfile
@@ -65,6 +65,11 @@ 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"
+# 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" \