mirror of
https://github.com/sickcodes/Docker-OSX.git
synced 2024-11-27 04:27:02 +08:00
Tempfix for arch
Temporarily downgrade glibc while a new version is being made.
This commit is contained in:
parent
0af8357211
commit
7cc833046f
@ -65,6 +65,11 @@ ARG VERSION=10.15.6
|
|||||||
ARG RANKMIRRORS
|
ARG RANKMIRRORS
|
||||||
ARG MIRROR_COUNTRY=US
|
ARG MIRROR_COUNTRY=US
|
||||||
ARG MIRROR_COUNT=10
|
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 \
|
RUN if [[ "${RANKMIRRORS}" ]]; then \
|
||||||
{ pacman -Sy wget --noconfirm || pacman -Syu wget --noconfirm ; } \
|
{ pacman -Sy wget --noconfirm || pacman -Syu wget --noconfirm ; } \
|
||||||
; wget -O ./rankmirrors "https://raw.githubusercontent.com/sickcodes/Docker-OSX/master/rankmirrors" \
|
; wget -O ./rankmirrors "https://raw.githubusercontent.com/sickcodes/Docker-OSX/master/rankmirrors" \
|
||||||
|
Loading…
Reference in New Issue
Block a user