Skip to content

Commit 0806c01

Browse files
committed
Work around old Docker systems breaking Arch
1 parent 9862511 commit 0806c01

File tree

1 file changed

+8
-0
lines changed

1 file changed

+8
-0
lines changed

scripts/docker/arch_latest.docker

Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,13 @@
11
FROM archlinux:base
22

3+
# Work-around the issue with glibc 2.33 on old Docker engines
4+
# Extract files directly as pacman is also affected by the issue
5+
# https://github.com/lxqt/lxqt-panel/pull/1562 and
6+
# https://github.com/actions/virtual-environments/issues/2658
7+
RUN patched_glibc=glibc-linux4-2.33-4-x86_64.pkg.tar.zst && \
8+
curl -LO "https://repo.archlinuxcn.org/x86_64/$patched_glibc" && \
9+
bsdtar -C / -xf $patched_glibc
10+
311
RUN pacman -Syy --noconfirm \
412
core/gcc \
513
extra/llvm \

0 commit comments

Comments
 (0)