[CRIU] [PATCH 3/3] Travis: add test for building some CRIU's object

Dmitry Safonov dsafonov at virtuozzo.com
Tue Sep 20 09:20:58 PDT 2016


As it should be built anyway - it will not increase build time
significally.

Cc: Andrei Vagin <avagin at virtuozzo.com>
Signed-off-by: Dmitry Safonov <dsafonov at virtuozzo.com>
---
 scripts/build/Dockerfile.tmpl | 4 +++-
 1 file changed, 3 insertions(+), 1 deletion(-)

diff --git a/scripts/build/Dockerfile.tmpl b/scripts/build/Dockerfile.tmpl
index c2857003bffc..9889ebb22818 100644
--- a/scripts/build/Dockerfile.tmpl
+++ b/scripts/build/Dockerfile.tmpl
@@ -21,5 +21,7 @@ RUN apt-get install -y \
 COPY . /criu
 WORKDIR /criu
 
-RUN make clean && make -j $(nproc)
+RUN make clean
+RUN make -j $(nproc) criu/parasite-syscall.o
+RUN make -j $(nproc)
 RUN make test/compel/handle_binary && ./test/compel/handle_binary
-- 
2.9.0



More information about the CRIU mailing list