DEBSPAWN(1) | debspawn | DEBSPAWN(1) |
debspawn - Build in nspawn containers
debspawn [-h|--help] [-c|--config] [--verbose] [--no-unicode] [--version] [--owner] [COMMAND]
This manual page documents the debspawn command.
debspawn is a tool to build Debian packages in an isolated environment, using nspawn containers. By using containers, Debspawn can isolate builds from the host system much better than a regular chroot could. It also allows for more advanced features to manage builds, for example setting resource limits for individual builds.
Please keep in mind that Debspawn is not a security feature! While it provides a lot of isolation from the host system, you should not run arbitrary untrusted code with it. The usual warnings for all technology based on Linux containers apply here. See systemd-nspawn(1) for more information on the container solution Debspawn uses.
Debspawn also allows one to run arbitrary custom commands in its environment. This is useful to execute a variety of non-package build and QA actions that make sense to be run in the same environment in which packages are usually built.
For more information about the Debspawn project, you can visit its project page[1].
debspawn actions are invoked via subcommands. Refer to their individual manual pages for further details.
create
list
delete
update
build
login
run
-h|--help
-c|--config
--verbose
--no-unicode
--version
--owner
Configuration is read from an optional TOML file, located at /etc/debspawn/global.toml or a location specified with --config. Specifying a config file on the command line will skip loading of the global, system-wide configuration.
The following keys are valid at the document root level, all are optional:
OSImagesDir
ResultsDir
APTCacheDir
InjectedPkgsDir
TempDir
AllowUnsafePermissions
This manual page was written by Matthias Klumpp <mak@debian.org>.
Copyright © 2018-2021 Matthias Klumpp
Debspawn |