Merge pull request #2422 from kolyshkin/criu-j
Dockerfile: speed up criu build
This commit is contained in:
commit
3c8da9dae0
|
@ -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 \
|
&& 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 \
|
&& cd /usr/src/criu \
|
||||||
&& echo 1 > .gitid \
|
&& echo 1 > .gitid \
|
||||||
&& make install-criu \
|
&& make -j $(nproc) install-criu \
|
||||||
&& cd - \
|
&& cd - \
|
||||||
&& rm -rf /usr/src/criu
|
&& rm -rf /usr/src/criu
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue