Scripts#
You can use build script files to run custom bash commands when the container is building. These build script files are saved in the project repository. For more information, see AI Workbench Projects. For more information, see AI Workbench Projects.
The following are the build scripts:
preBuild.bash — This file runs at the start of the container build workflow.
postBuild.bash — This file runs at the end of the container build workflow.
CLI#
To update a build script, follow these steps:
Open the terminal and activate the desired context (___location).
In your bash terminal run
nvwb open
to open an existing project.Then update the script by running
nvwb update script
.Select the script to update. This opens an instance of the user’s preferred editor.
Add/edit commands in the script. Save and exit the editor.