logo
Free, unlimited AI code reviews that run on commit
git-lrc git-lrc GitHub Install Now We'd appreciate a star git-lrc - Free, unlimited AI code reviews that run on commit | Product Hunt git-lrc - Free, unlimited AI code reviews that run on commit | Product Hunt

debspawn-run - Run arbitrary commands in debspawn container session

Author

       This manual page was written by Matthias Klumpp <mak@debian.org>.

Description

       This subcommand allows you to run arbitrary commands in an ephemeral debspawn container, using the same
       environment that is normally used for building packages.

       debspawnrun is explicitly designed to be used by other automation tools for custom applications, and
       usually you will want to use debspawnbuild instead to build Debian packages.

Name

       debspawn-run - Run arbitrary commands in debspawn container session

Options

       NAME
           The name of the container image (usually a distribution suite name).

       COMMAND
           The command to run.

       -h|--help
           Print brief help information about available commands.

       --variant
           Set the variant of the selected image, that was used for bootstrapping.

       -a|--arch
           The architecture of the base image that should be selected.

       --suite
           Explicitly set a suite name (instead of having it derived from the container name).

       --artifacts-out
           Directory on the host where artifacts can be stored. Mounted to /srv/artifacts in the guest.

       --build-dir
           Select a host directory that gets copied to /srv/build.

       --bind-build-dir
           Bindmount build directory instead of copying it. Mounts read-only by default, but can mount as
           writable as well if 'rw' is passed as value.

       --cachekey
           If set, use the specified cache-ID to store an initialized container image for faster initialization
           times. This may mean that the command passed in `--init-command` is skipped if the cache already
           existed.

       --init-command
           The command or command script used to set up the container.

       -x|--external-command
           If set, the command script(s) will be copied from the host to the container and then executed.

       --header
           Name of the task that is run, will be printed as header.

       --allow
           List one or more additional permissions to grant the container. Takes a comma-separated list of
           capability names.

       --boot
           Boot container image (requires the image to contain an init system).

See Also

debspawn-build(1).

Synopsis

debspawnrun [-h|--help] [--variant] [-a|--arch] [--suite] [--artifacts-out] [--build-dir]
                    [--bind-build-dir] [--cachekey] [--init-command] [-x|--external-command] [--header]
                    [--allow] [--boot] {NAME} {COMMAND}

See Also