Missing libnvbufsurface.so at /opt/nvidia/deepstream/deepstream-6.1/lib/libnvbufsurface.so in Docker on Jetson Xavier

I’ve resolved my issue by following the simpler route and downloading the compiled arm python bindings:

FROM nvcr.io/nvidia/deepstream-l4t:6.1-samples

RUN apt update -y
RUN apt upgrade -y

# GStreamer Dependencies
RUN apt install -y libgstreamer1.0-dev libgstreamer-plugins-base1.0-dev libgstreamer-plugins-bad1.0-dev \
    gstreamer1.0-plugins-base gstreamer1.0-plugins-good gstreamer1.0-plugins-bad gstreamer1.0-plugins-ugly \
    gstreamer1.0-libav gstreamer1.0-doc gstreamer1.0-tools gstreamer1.0-x gstreamer1.0-alsa gstreamer1.0-gl \
    gstreamer1.0-gtk3 gstreamer1.0-qt5 gstreamer1.0-pulseaudio

# Gst RTSP Server
RUN apt install -y libgstrtspserver-1.0-dev gstreamer1.0-rtsp

# Deepstream Dependencies
RUN apt install -y python3-gi python3-dev python3-gst-1.0 python-gi-dev git python-dev \
    python3 python3-pip python3.8-dev cmake g++ build-essential libglib2.0-dev \
    libglib2.0-dev-bin libgstreamer1.0-dev libtool m4 autoconf automake libgirepository1.0-dev libcairo2-dev

# Clone the Deepstream Python Apps Repo into <deepstream>/sources
WORKDIR /opt/nvidia/deepstream/deepstream/sources
RUN git clone https://github.com/NVIDIA-AI-IOT/deepstream_python_apps.git

# Download and install the Deepstream Python Bindings
RUN mkdir /opt/nvidia/deepstream/deepstream/sources/deepstream_python_apps/bindings/build
WORKDIR /opt/nvidia/deepstream/deepstream/sources/deepstream_python_apps/bindings/build
RUN curl -O -L https://github.com/NVIDIA-AI-IOT/deepstream_python_apps/releases/download/v1.1.3/pyds-1.1.3-py3-none-linux_aarch64.whl
RUN pip install ./pyds-1.1.3-py3-none-linux_aarch64.whl

CMD ["/bin/bash"]