Difference between revisions of "Docker build"
Jump to navigation
Jump to search
(Created page with "CRIU can be built inside Docker container. This page describes how. Category: Empty articles Category: Development Category: HOWTO") |
|||
Line 1: | Line 1: | ||
CRIU can be built inside Docker container. This page describes how. | 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 | ||
[[Category: Empty articles]] | [[Category: Empty articles]] | ||
[[Category: Development]] | [[Category: Development]] | ||
[[Category: HOWTO]] | [[Category: HOWTO]] |
Latest revision as of 19:12, 3 March 2016
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