Scroll to navigation

DEBSPAWN-RUN(1) debspawn run DEBSPAWN-RUN(1)

NAME

debspawn-run - Run arbitrary commands in debspawn container session

SYNOPSIS

debspawn run [-h|--help] [--variant] [-a|--arch] [--artifacts-out] [--build-dir] [--cachekey] [--init-command] [-x|--external-command] [--header] [--allow] {SUITE}

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.

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

OPTIONS

-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.

--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 bind mounted to /srv/build.

--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.

SEE ALSO

debspawn-build(1).

AUTHOR

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

COPYRIGHT

Copyright © 2018-2021 Matthias Klumpp

Debspawn