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