Users may run custom bash commands during the container build flow, through build script files. These files are saved in the project repository,
The build scripts that are executed and may be edited are: preBuild.bash, preLanguage.bash, postBuild.bash
- preBuild.bash
- preLanguage.bash
- postBuild.bash
This file is executed at the start of the container build workflow.
This file is executed after the system packages are installed, but before the language specific packages are installed.
This file is executed at the end of the container build workflow.
Support for managing scripts through the Desktop App will be coming soon!
Updating a build script
Open the terminal and activate the desired context (location)
Run
nvwb open
to open an existing projectRun
nvwb update script
Select the script to update. This will open an instance of the user’s preferred editor
Add/edit commands in the script. Save and exit the editor