-
Notifications
You must be signed in to change notification settings - Fork 12
Closed
Labels
Description
📚 Context
The current CLI commands like build and run currently allow some level of customization through the following mechanisms:
- machine rootfs contents from a Docker image
- RAM memory size from a Docker label
- drive extra space from a Docker label
- emulator version (or kernel) by replacing an underlying "sdk Docker image"
This process is kind of scattered and makes it hard to allow further customization required by some applications or different frameworks like lambada.
✔️ Solution
Implement build and execution driven by a configuration file.
The configuration will be a TOML file containing sections for machine drives, kernel configuration, runtime configuration, etc.
The configuration file content can be discussed further in this issue.
Ideally the file can be considered optional for a project if all options have a default value.
📈 Subtasks
- define the file content, and the default values
- implement the
buildcommand using the configuration - implement the
runcommand using the configuration - implement the
deploycommand using the configuration
🎯 Definition of Done
- build based on configuration
- run based on configuration
- allow novel use cases for the CLI, like lambada applications
Reactions are currently unavailable