User Guide (Latest)
User Guide (Latest)

Scripts

Users can use build script files to run custom bash commands during the container build. The scipt files are saved in the project repository. 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.

  • preLanguage.bash — This file runs after the system packages are installed, but before the language specific packages are installed.

  • postBuild.bash — This file runs at the end of the container build workflow.

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 opens 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 Sep 17, 2024.