fixed glibc upgrade problem

This commit is contained in:
david 2021-03-06 22:55:20 +01:00
parent b022518c8b
commit 11c729afbf
1 changed files with 3 additions and 2 deletions

View File

@ -9,7 +9,8 @@ LABEL Description="This image is based on Archlinux and is used for running game
# 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"
bsdtar -C / -xvf "$patched_glibc" && \
echo "IgnorePkg = glibc lib32-glibc" >> /etc/pacman.conf
ENV USER_ID=1000
ENV GROUP_ID=1000
@ -38,4 +39,4 @@ WORKDIR /home/${USERNAME}
COPY entrypoint.sh /opt/
CMD /opt/entrypoint.sh
CMD /opt/entrypoint.sh