ch-builder2tar1
Flatten a builder image into a charliecloud image tarball
Usage
$ ch-builder2tar [-b BUILDER] [--nocompress] IMAGE OUTDIR
Overview
Flatten the builder image tagged IMAGE into a Charliecloud tarball in directory OUTDIR.
The builder-specified environment (e.g., ENV statements) is placed in a file in the tarball at $IMAGE/ch/environment, in a form suitable for ch-run --set-env.
See ch-build(1) for details on specifying the builder.
Additional arguments:
-
-b, --builder BUILDER -
Use specified builder; if not given, use
$CH_BUILDERor default.
-
--nocompress -
Do not compress tarball.
-
--help -
Print help and exit.
-
--version -
Print version and exit.
Examples
$ ch-builder2tar hello /var/tmp57M /var/tmp/hello.tar.gz$ ls -lh /var/tmp-rw-r----- 1 reidpr reidpr 57M Feb 13 16:14 hello.tar.gz