scag-build – Build Gramine Scaffolding application
Synopsis
scag build [OPTIONS]
scag-build [OPTIONS]
Description
Build Gramine application using Scaffolding framework. This command, as an input, takes a Scaffolding configuration file. In most cases, this file is generated by using scag-setup – Setup Gramine Scaffolding application. As a result, this command produces a Docker image.
Options
- --and-run
Automatically run the application after build.
- --conf <file>
The filename of the scaffolding configuration file. By default this is
scag.toml
, usually generated by scag-setup – Setup Gramine Scaffolding application.
- --project_dir <dir>
The directory of the application to scaffold.
- --print-only-image
Reduce the output of the command. Print only the SHA of the produced Docker image, without any additional decorators.
Exit status
On success, exits with 0. On failures, exits non-zero and prints diagnostics to stderr.