Skip to content

Commit

Permalink
chore: update nano docker ci
Browse files Browse the repository at this point in the history
  • Loading branch information
beniz committed May 29, 2022
1 parent cdab9e3 commit 3fc0146
Show file tree
Hide file tree
Showing 2 changed files with 8 additions and 6 deletions.
14 changes: 8 additions & 6 deletions ci/devel-jetson-nano.Dockerfile
Original file line number Diff line number Diff line change
@@ -1,5 +1,6 @@
# Special docker image for Jetson nano
FROM nvcr.io/nvidia/deepstream-l4t:5.1-21.02-base
#FROM nvcr.io/nvidia/deepstream-l4t:5.1-21.02-base
FROM nvcr.io/nvidia/deepstream-l4t:6.1-base

RUN export DEBIAN_FRONTEND=noninteractive && \
apt-get update -y && apt-get install -y \
Expand All @@ -15,6 +16,7 @@ RUN export DEBIAN_FRONTEND=noninteractive && \
zip \
g++ \
gcc-7 g++-7 \
cmake \
zlib1g-dev \
protobuf-compiler \
libprotobuf-dev \
Expand Down Expand Up @@ -58,15 +60,15 @@ RUN export DEBIAN_FRONTEND=noninteractive && \

RUN apt clean -y

RUN curl -L https://github.com/Kitware/CMake/releases/download/v3.19.6/cmake-3.19.6-Linux-aarch64.sh -o cmake-install.sh
RUN chmod +x ./cmake-install.sh
RUN ./cmake-install.sh --prefix=/usr/local --skip-license
#RUN curl -L https://github.com/Kitware/CMake/releases/download/v3.19.6/cmake-3.19.6-Linux-aarch64.sh -o cmake-install.sh
#RUN chmod +x ./cmake-install.sh
#RUN ./cmake-install.sh --prefix=/usr/local --skip-license

# ubuntu GTEST ugly packaging
WORKDIR /usr/src/gtest
WORKDIR /usr/src/gtest/
RUN cmake .
RUN make -j8
RUN make install
RUN cp lib/libgtest* /usr/lib/

# NOTE(sileht): docker nvidia on jetson is bugged with non-root account, we
# have to configure the device access manually. The UID and GID must be the
Expand Down
Binary file modified ci/deviceQuery
Binary file not shown.

0 comments on commit 3fc0146

Please sign in to comment.