You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I am following the setup steps here gpu/Dockerfile . During the Docker build the setup asks several questions, therefore blocking the build.
How to reproduce the issue
Start a shell in the base image: docker run -it nvcr.io/nvidia/deepstream:6.0-triton
Run the following commands:
export DEBIAN_FRONTEND noninteractive
# Set some variables to download the proper header modules
export VERSION="2.83.18%2Brev1.dev"
export BALENA_MACHINE_NAME="genericx86-64-ext"
# Set variables for the Yocto version of the OS
export YOCTO_VERSION=5.10.43
export YOCTO_KERNEL=${YOCTO_VERSION}-yocto-standard
# Set variables to download proper NVIDIA driver
export NVIDIA_DRIVER_VERSION=470.86
export NVIDIA_DRIVER=NVIDIA-Linux-x86_64-${NVIDIA_DRIVER_VERSION}
# Install some prereqs
apt install -y git wget unzip build-essential libelf-dev bc libssl-dev bison flex software-properties-common
mkdir -p /usr/src/kernel_source
cd /usr/src/kernel_source
# Causes a pipeline to produce a failure return code if any command errors.
# Normally, pipelines only return a failure if the last command errors.
#SHELL ["/bin/bash", "-o", "pipefail", "-c"]
# Download the kernel source then prepare kernel source to build a module.
curl -fsSL "https://files.balena-cloud.com/images/${BALENA_MACHINE_NAME}/${VERSION}/kernel_source.tar.gz" \
| tar xz --strip-components=2 && \
make -C build modules_prepare -j"$(nproc)"
The last command will have the following output, and then it will freeze waiting for user input:
@mfoglio the gpu/Dockerfile is meant to run in its own container alongside an image such as nvcr.io/nvidia/deepstream:6.0-triton. So I would try getting the gpu container running first (you need to set some variables as mentioned in the readme) and then follow the format of the nvidia-x86 example but using the deepstream image.
Issue
I am following the setup steps here gpu/Dockerfile . During the Docker build the setup asks several questions, therefore blocking the build.
How to reproduce the issue
Start a shell in the base image:
docker run -it nvcr.io/nvidia/deepstream:6.0-triton
Run the following commands:
The last command will have the following output, and then it will freeze waiting for user input:
It seems that
export DEBIAN_FRONTEND=noninteractive
is not doing the job.Looking at
make
options there doesn't seem to be an option to skip the question, but I guess I am wrong. How can I fix this?The text was updated successfully, but these errors were encountered: