mirror of
https://github.com/yuzu-emu/build-environments.git
synced 2024-11-22 12:25:44 +01:00
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.
This commit is contained in:
parent
ce32fc5a16
commit
87c73e5b5d
@ -1,5 +1,10 @@
|
|||||||
FROM archlinux:latest
|
FROM archlinux:latest
|
||||||
MAINTAINER yuzu
|
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
|
# 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
|
# 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.
|
# and the second run actually pulls the updates from the repos.
|
||||||
|
Loading…
Reference in New Issue
Block a user