dockerfile: extract a common part in one file

Signed-off-by: Andrew Vagin <avagin@virtuozzo.com>
Signed-off-by: Pavel Emelyanov <xemul@virtuozzo.com>
This commit is contained in:
Andrew Vagin 2016-02-18 20:41:08 +03:00 committed by Pavel Emelyanov
parent 1621ba56ac
commit afae962c66
10 changed files with 44 additions and 94 deletions

View file

@ -192,11 +192,12 @@ gcov:
PHONY += gcov
docker-build:
docker build -t criu .
$(MAKE) -C scripts/build/ x86_64
PHONY += docker-build
docker-test:
docker run --rm -it --privileged criu ./test/zdtm.sh -C -x tcp6 -x tcpbuf6 -x static/rtc -x cgroup -x mountpoint
docker run --rm -it --privileged criu-x86_64 ./test/zdtm.sh -C -x tcp6 -x tcpbuf6 -x static/rtc -x cgroup -x mountpoint
PHONY += docker-test
help: