From b5fe770f8d76f1a37e39e9a5edaaa46877f78c54 Mon Sep 17 00:00:00 2001 From: Kir Kolyshkin Date: Thu, 15 Mar 2018 14:09:39 -0700 Subject: [PATCH] CI: fix Fedora rawhide Fix Fedora rawhide CI failure caused by coreutils-single and our way of running under QEMU. Signed-off-by: Kir Kolyshkin --- scripts/build/Dockerfile.fedora.tmpl | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/scripts/build/Dockerfile.fedora.tmpl b/scripts/build/Dockerfile.fedora.tmpl index 618efddfb..85ff59664 100644 --- a/scripts/build/Dockerfile.fedora.tmpl +++ b/scripts/build/Dockerfile.fedora.tmpl @@ -23,6 +23,12 @@ RUN dnf install -y \ python-yaml \ tar +# Replace coreutils-single with "traditional" coreutils +# to fix the following error on Fedora 28/rawhide while +# running under QEMU: +# > sh: /usr/bin/sort: /usr/bin/coreutils: bad interpreter: No such file or directory +RUN dnf install -y --allowerasing coreutils + COPY . /criu WORKDIR /criu