I am looking for the DockerFile used to create the following container: nvcr.io/nvidia/l4t-tensorrt:r8.2.1-runtime. Basically, I need to build my own image from this TensorRT image since it does not have essential libraries that I need (cmake, glog, etc).
Thanks for your quick reply, I actually did check the first website. But what actually is the TensorRT container link that you just sent? it does not have the TensorRT versions that I am used to seeing (it goes from 17 to 23) and it uses python3?
I am actually using these containers: NVIDIA L4T TensorRT | NVIDIA NGC because my Jetson is running on L4T. My main issue with the containers here are that they don’t include cmake for some reason so I just wanted to double check the Dockerfile used to create the images, in particular for http://nvcr.io/nvidia/l4t-tensorrt:r8.2.1-runtime.
The main I have is that after running the Dockerfile:
and I try to use cmake, I get the following error:
CMake Error at /usr/local/share/cmake-3.21/Modules/CMakeTestCCompiler.cmake:69 (message):
The C compiler
“/usr/bin/cc”
is not able to compile a simple test program.
It fails with the following output:
Change Dir: /workspace/inference/build/CMakeFiles/CMakeTmp
Run Build Command(s):/usr/bin/make -f Makefile cmTC_b43c9/fast && /usr/bin/make -f CMakeFiles/cmTC_b43c9.dir/build.make CMakeFiles/cmTC_b43c9.dir/build
make[1]: Entering directory ‘/workspace/inference/build/CMakeFiles/CMakeTmp’
Building C object CMakeFiles/cmTC_b43c9.dir/testCCompiler.c.o
/usr/bin/cc -o CMakeFiles/cmTC_b43c9.dir/testCCompiler.c.o -c /workspace/inference/build/CMakeFiles/CMakeTmp/testCCompiler.c
cc: error trying to exec ‘cc1’: execvp: No such file or directory
CMakeFiles/cmTC_b43c9.dir/build.make:77: recipe for target ‘CMakeFiles/cmTC_b43c9.dir/testCCompiler.c.o’ failed
make[1]: *** [CMakeFiles/cmTC_b43c9.dir/testCCompiler.c.o] Error 1
make[1]: Leaving directory ‘/workspace/inference/build/CMakeFiles/CMakeTmp’
Makefile:127: recipe for target ‘cmTC_b43c9/fast’ failed
make: *** [cmTC_b43c9/fast] Error 2