ci: Use different workaround for Archlinux docker
This commit is contained in:
parent
27488328f6
commit
545e37b913
|
|
@ -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:
|
||||
|
|
|
|||
|
|
@ -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 %}
|
||||
|
|
|
|||
Loading…
Reference in New Issue