From 87c73e5b5d2dee97bef8d1ef6c17c610872a22a7 Mon Sep 17 00:00:00 2001 From: lat9nq <22451773+lat9nq@users.noreply.github.com> Date: Mon, 31 May 2021 04:13:50 -0400 Subject: [PATCH] mingw: Patch GLIBC due to running in an old environment Dockerhub appears to use either an old version of docker or something, and it is incompatible with an Arch Linux guest. --- linux-mingw/Dockerfile | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/linux-mingw/Dockerfile b/linux-mingw/Dockerfile index 8946eed..e48ecc3 100644 --- a/linux-mingw/Dockerfile +++ b/linux-mingw/Dockerfile @@ -1,5 +1,10 @@ FROM archlinux:latest MAINTAINER yuzu +# Workaround for Arch Linux Docker image failing to build +# From https://stackoverflow.com/questions/66154574 +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" # Add mingw-repo "ownstuff" is a AUR with an up to date mingw64 # Runs pacman -Syu twice in order to work around pacman issues where the first run only updates the current distro packages # and the second run actually pulls the updates from the repos.