diff --git a/Dockerfile b/Dockerfile index 84a4644..75a1799 100644 --- a/Dockerfile +++ b/Dockerfile @@ -4,6 +4,13 @@ LABEL Description="This image is based on Archlinux and is used for running game Version="0.1" \ License="MIT" +# 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" + ENV USER_ID=1000 ENV GROUP_ID=1000 ENV USERNAME=steam