cicc not found in docker image

docker images : nvcr.io/nvidia/l4t-base:r32.3.1
In this container on axiver, do cmake in TensorRT/build , error log:

Building for TensorRT version: 7.0.0.1, library version: 7.0.0
– The CUDA compiler identification is unknown
– Check for working CUDA compiler: /usr/local/cuda-10.0/bin/nvcc
– Check for working CUDA compiler: /usr/local/cuda-10.0/bin/nvcc – broken
CMake Error at /usr/local/share/cmake-3.16/Modules/CMakeTestCUDACompiler.cmake:46 (message):
The CUDA compiler

"/usr/local/cuda-10.0/bin/nvcc"

is not able to compile a simple test program.

It fails with the following output:

Change Dir: /home/huaxing/Downloads/tensorrt/TensorRT/build/CMakeFiles/CMakeTmp

Run Build Command(s):/usr/bin/make cmTC_c12e9/fast && /usr/bin/make -f CMakeFiles/cmTC_c12e9.dir/build.make CMakeFiles/cmTC_c12e9.dir/build
make[1]: Entering directory '/home/huaxing/Downloads/tensorrt/TensorRT/build/CMakeFiles/CMakeTmp'
Building CUDA object CMakeFiles/cmTC_c12e9.dir/main.cu.o
/usr/local/cuda-10.0/bin/nvcc     -x cu -c /home/huaxing/Downloads/tensorrt/TensorRT/build/CMakeFiles/CMakeTmp/main.cu -o CMakeFiles/cmTC_c12e9.dir/main.cu.o
sh: 1: cicc: not found
CMakeFiles/cmTC_c12e9.dir/build.make:65: recipe for target 'CMakeFiles/cmTC_c12e9.dir/main.cu.o' failed
make[1]: *** [CMakeFiles/cmTC_c12e9.dir/main.cu.o] Error 127
make[1]: Leaving directory '/home/huaxing/Downloads/tensorrt/TensorRT/build/CMakeFiles/CMakeTmp'
Makefile:121: recipe for target 'cmTC_c12e9/fast' failed
make: *** [cmTC_c12e9/fast] Error 2

Hi,

l4t-base:r32.3.1 is based on JetPack4.3, which doesn’t support TensorRT 7.0.
For compatibility, please use TensorRT 6.0 instead.

Thanks.