DEV Community

Discussion on: Building jetson-containers for Nvidia devices on Windows 10 with VS Code and WSL v2

Collapse
 
toolboc profile image
Paul DeCarlo • Edited

It sounds like you may be attempting to build an image without first building one of the necessary dependency images. It is required to build one of the <jetpack-depencies> dependency images before building subsequent containers. Attempting to building one these dependency images should prompt you for a password.

First, ensure that you have a file created in the root of the jetson-containers project named ".env" with the NV_USER value specified:

Next, press "CTRL+Shift+B" to bring up the build tasks and select the "make <jetpack-depencies>" build task:

Next, choose one of the available target platforms:

You should be prompted for your password by the CLI shortly after, after supplying the appropriate credentials, the task will kick off the sdkmanager to retrieve packages needed to build the dependency image:

Here is what it will look like while the packages are retrieved:

Once you have an appropriate dependency images, building subsequent images that are based on it's existence should be possible.