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
The printable version is no longer supported and may have rendering errors. Please update your browser bookmarks and please use the default browser print function instead.

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