Docker build

From CRIU
Jump to navigation Jump to search

CRIU can be built inside Docker container. This page describes how.

  • Generate Dockerfile
make Dockerfile.[ARCH]
  • Build a docker image
docker build -t criu -f Dockerfile.[ARCH] ../..
  • Build a docker image for a non-native architectures
make -C scripts/build/ [ARCH]

For example:

make -C scripts/build/ x86_64