Docker build

From CRIU
Revision as of 19:12, 3 March 2016 by Avagin (talk | contribs)
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
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