ERROR when building custom container from jetson-containers

my build command:

./build.sh --name=my_robot pytorch deepstream cuda-python opencv riva-client:python

the error:

– Building container my_robot:r36.2.0-cuda-python

DOCKER_BUILDKIT=0 docker build --network=host --tag my_robot:r36.2.0-cuda-python
–file /home/guillaume/dev/jetson-containers/packages/cuda/cuda-python/Dockerfile
–build-arg BASE_IMAGE=my_robot:r36.2.0-deepstream
–build-arg BUILD_IMAGE=“None”
/home/guillaume/dev/jetson-containers/packages/cuda/cuda-python
2>&1 | tee /home/guillaume/dev/jetson-containers/logs/20240402_141901/build/my_robot_r36.2.0-cuda-python.txt; exit ${PIPESTATUS[0]}

DEPRECATED: The legacy builder is deprecated and will be removed in a future release.
BuildKit is currently disabled; enable it by removing the DOCKER_BUILDKIT=0
environment-variable.

Sending build context to Docker daemon 22.53kB
Step 1/6 : ARG BASE_IMAGE
Step 2/6 : ARG BUILD_IMAGE
Step 3/6 : FROM ${BUILD_IMAGE} as builder
invalid reference format: repository name (library/None) must be lowercase
Traceback (most recent call last):
File “/usr/lib/python3.10/runpy.py”, line 196, in _run_module_as_main
return _run_code(code, main_globals, None,
File “/usr/lib/python3.10/runpy.py”, line 86, in _run_code
exec(code, run_globals)
File “/home/guillaume/dev/jetson-containers/jetson_containers/build.py”, line 102, in
build_container(args.name, args.packages, args.base, args.build_flags, args.simulate, args.skip_tests, args.test_only, args.push, args.no_github_api)
File “/home/guillaume/dev/jetson-containers/jetson_containers/container.py”, line 143, in build_container
status = subprocess.run(cmd.replace(NEWLINE, ’ ‘), executable=’/bin/bash’, shell=True, check=True)
File “/usr/lib/python3.10/subprocess.py”, line 526, in run
raise CalledProcessError(retcode, process.args,
subprocess.CalledProcessError: Command ‘DOCKER_BUILDKIT=0 docker build --network=host --tag my_robot:r36.2.0-cuda-python --file /home/guillaume/dev/jetson-containers/packages/cuda/cuda-python/Dockerfile --build-arg BASE_IMAGE=my_robot:r36.2.0-deepstream --build-arg BUILD_IMAGE=“None” /home/guillaume/dev/jetson-containers/packages/cuda/cuda-python 2>&1 | tee /home/guillaume/dev/jetson-containers/logs/20240402_141901/build/my_robot_r36.2.0-cuda-python.txt; exit ${PIPESTATUS[0]}’ returned non-zero exit status 1.

Are you using this repository?

I don’t know the cause of this problem. It doesn’t seem to be a problem with deepstream. You can post an issue on github.

Yes I am using that repository.

I removed cuda-python and was able to build the container.