Dockerfile: speed up criu build

... in case we have more than one CPU, that is.

Signed-off-by: Kir Kolyshkin <kolyshkin@gmail.com>
This commit is contained in:
Kir Kolyshkin 2020-05-19 17:19:14 -07:00
parent b207d578ec
commit 236ec04599
1 changed files with 1 additions and 1 deletions

View File

@ -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