Minimal Base Image for DeepStream 7.1 Without Samples

Description

Hello,

In DeepStream 6.2, a minimal base image is available at nvcr.io/nvidia/deepstream-l4t:6.2-base.

For DeepStream 7.1, however, I could only find nvcr.io/nvidia/deepstream:7.1-samples-multiarch.

Is there a minimal base image available for DeepStream 7.1 that is intended for release (not for development purposes and without samples, such as deepstream-app or deepstream_python_apps)?

If not, could you provide detailed instructions or guidance on how to create such a minimal base image from scratch?

I came across building-jetson-ds-docker-images, and more specifically, these instructions-for-building-jetson-ds-samples-docker-image.

If I just want the base image for releasing a custom DeepStream app without samples (deepstream-app or deepstream_python_apps and other useless stuff), how should I modify the following files?

  • deepstream_dockers/setup_x86_cross_compile_jetson.sh
  • deepstream_dockers/setup_jetson_build.sh
  • deepstream_dockers/docker/Dockerfile_Jetson_Run

Are there other files I need to adjust?

Thank you!

Environment

TensorRT Version: 10.3
GPU Type: Orin NX 16 GB
Nvidia Driver Version: 540.0
CUDA Version: 12.6
CUDNN Version: 9.3
Operating System + Version: : Ubuntu 22.04
Python Version: 3.10

1 Like

There is no such image, but you can build a image based on nvcr.io/nvidia/deepstream:7.1-samples-multiarch, then keep only the lib directory under the /opt/nvidia/deepstream/deepstream-7.1 directory, and delete all other files.

1 Like

I have the same issue, except for DIY this si not an acceptable answer, and If you follow your guidelines , the headers are missing and cannot include Python bindings !! You ahve to start from the triton image which is even bigger !!
What many customers needs is clean image with a Dockerfile that start from a basic Ubuntu image and build it locally not an image that you are not sure whats is inside that you download from a hub
thks in advance

1 Like

The sample image does not contain any header files and is just only used for deployment. For development purposes, deepstream:xxx-triton-multiarch is recommended.

If you want to build from the Ubuntu base image, please refer to this project, but this is not recommended because it requires installing quite a few dependencies.

If you have more questions, please open a new topic for your question, thanks.

1 Like