File tree Expand file tree Collapse file tree 2 files changed +8
-6
lines changed Expand file tree Collapse file tree 2 files changed +8
-6
lines changed Original file line number Diff line number Diff line change 11#  Special docker image for Jetson nano
2- FROM  nvcr.io/nvidia/deepstream-l4t:5.1-21.02-base
2+ # FROM nvcr.io/nvidia/deepstream-l4t:5.1-21.02-base
3+ FROM  nvcr.io/nvidia/deepstream-l4t:6.1-base
34
45RUN  export DEBIAN_FRONTEND=noninteractive && \
56    apt-get update -y && apt-get install -y \
@@ -15,6 +16,7 @@ RUN export DEBIAN_FRONTEND=noninteractive && \
1516    zip \
1617    g++ \
1718    gcc-7 g++-7 \
19+     cmake \
1820    zlib1g-dev \
1921    protobuf-compiler \
2022    libprotobuf-dev \
@@ -58,15 +60,15 @@ RUN export DEBIAN_FRONTEND=noninteractive && \
5860
5961RUN  apt clean -y
6062
61- RUN  curl -L https://github.com/Kitware/CMake/releases/download/v3.19.6/cmake-3.19.6-Linux-aarch64.sh -o cmake-install.sh
62- RUN  chmod +x ./cmake-install.sh
63- RUN  ./cmake-install.sh --prefix=/usr/local --skip-license
63+ # RUN curl -L https://github.com/Kitware/CMake/releases/download/v3.19.6/cmake-3.19.6-Linux-aarch64.sh -o cmake-install.sh
64+ # RUN chmod +x ./cmake-install.sh
65+ # RUN ./cmake-install.sh --prefix=/usr/local --skip-license
6466
6567#  ubuntu GTEST ugly packaging
66- WORKDIR  /usr/src/gtest
68+ WORKDIR  /usr/src/gtest/ 
6769RUN  cmake .
6870RUN  make -j8
69- RUN  make install 
71+ RUN  cp lib/libgtest* /usr/lib/ 
7072
7173#  NOTE(sileht): docker nvidia on jetson is bugged with non-root account, we
7274#  have to configure the device access manually. The UID and GID must be the
    
 
   
 
     
   
   
          
     
  
    
     
 
    
      
     
 
     
    You can’t perform that action at this time.
  
 
    
  
     
    
      
        
     
 
       
      
     
   
 
    
    
  
 
  
 
     
    
0 commit comments