From 236ec04599a734f738f3d6e76e1c713ed24f79e2 Mon Sep 17 00:00:00 2001 From: Kir Kolyshkin Date: Tue, 19 May 2020 17:19:14 -0700 Subject: [PATCH] Dockerfile: speed up criu build ... in case we have more than one CPU, that is. Signed-off-by: Kir Kolyshkin --- Dockerfile | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Dockerfile b/Dockerfile index fd891ee4..6a17ceb5 100644 --- a/Dockerfile +++ b/Dockerfile @@ -63,7 +63,7 @@ RUN mkdir -p /usr/src/criu \ && curl -fsSL https://github.com/checkpoint-restore/criu/archive/${CRIU_VERSION}.tar.gz | tar -C /usr/src/criu/ -xz --strip-components=1 \ && cd /usr/src/criu \ && echo 1 > .gitid \ - && make install-criu \ + && make -j $(nproc) install-criu \ && cd - \ && rm -rf /usr/src/criu