File tree 2 files changed +8
-6
lines changed
2 files changed +8
-6
lines changed Original file line number Diff line number Diff line change 1
1
# 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
3
4
4
5
RUN export DEBIAN_FRONTEND=noninteractive && \
5
6
apt-get update -y && apt-get install -y \
@@ -15,6 +16,7 @@ RUN export DEBIAN_FRONTEND=noninteractive && \
15
16
zip \
16
17
g++ \
17
18
gcc-7 g++-7 \
19
+ cmake \
18
20
zlib1g-dev \
19
21
protobuf-compiler \
20
22
libprotobuf-dev \
@@ -58,15 +60,15 @@ RUN export DEBIAN_FRONTEND=noninteractive && \
58
60
59
61
RUN apt clean -y
60
62
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
64
66
65
67
# ubuntu GTEST ugly packaging
66
- WORKDIR /usr/src/gtest
68
+ WORKDIR /usr/src/gtest/
67
69
RUN cmake .
68
70
RUN make -j8
69
- RUN make install
71
+ RUN cp lib/libgtest* /usr/lib/
70
72
71
73
# NOTE(sileht): docker nvidia on jetson is bugged with non-root account, we
72
74
# 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