added workaround for running on older kernel

This commit is contained in:
david 2021-02-14 19:28:14 +01:00
parent b7742c8360
commit 426c59a44a
1 changed files with 7 additions and 0 deletions

View File

@ -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