ci: Use different workaround for Archlinux docker

This commit is contained in:
Florian Bruhin 2021-02-16 11:24:40 +01:00
parent 27488328f6
commit 545e37b913
2 changed files with 7 additions and 7 deletions

View File

@ -16,6 +16,13 @@ jobs:
- archlinux-webengine
- archlinux-webengine-unstable
steps:
- name: Build latest runc to work around actions/virtual-environments#2698
run: |
sudo apt-get install libseccomp-dev
git clone https://github.com/opencontainers/runc
cd runc
make
sudo make install
- uses: actions/checkout@v2
- uses: actions/setup-python@v2
with:

View File

@ -1,12 +1,5 @@
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 %}