Revert "Revert "ci: Add workaround for Archlinux/Docker issue""
This reverts commit 8fccc17bd8.
Still broken unfortunately (probably on GitHub's side)...
This commit is contained in:
parent
8fccc17bd8
commit
8ba1a28fa5
|
|
@ -1,5 +1,12 @@
|
|||
FROM archlinux:latest
|
||||
|
||||
# WORKAROUND for glibc 2.33 and old Docker
|
||||
# See https://github.com/actions/virtual-environments/issues/2658
|
||||
# Thanks to https://github.com/lxqt/lxqt-panel/pull/1562
|
||||
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"
|
||||
|
||||
{% if unstable %}
|
||||
RUN sed -i '/^# after the header/a[kde-unstable]\nInclude = /etc/pacman.d/mirrorlist\n\n[testing]\nInclude = /etc/pacman.d/mirrorlist' /etc/pacman.conf
|
||||
{% endif %}
|
||||
|
|
|
|||
Loading…
Reference in New Issue