Scripts

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

This file is executed at the start of the container build workflow.

preLanguage.bash

This file is executed after the system packages are installed, but before the language specific packages are installed.

postBuild.bash

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 project

  • Run 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

Previous Packages
Next Environment Variables
© Copyright © 2024, NVIDIA Corporation. Last updated on Apr 29, 2024.