From c75cb2b58bde9f574ef9b377faa2e88c66a51790 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 399ec316c..039cb1131 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