123456789101112131415161718192021222324252627282930313233343536373839404142434445464748 |
- FROM nvcr.io/nvidia/deepstream-l4t:6.0-samples
- ARG with_zltoolkit_code=yes
- ARG with_opencv_code=yes
- RUN apt-get update && \
- DEBIAN_FRONTEND=noninteractive apt-get install -y --no-install-recommends libgstreamer-plugins-base1.0-dev libgstreamer1.0-dev libgstrtspserver-1.0-dev libx11-dev \
- build-essential \
- cmake \
- libmysqlclient-dev \
- libssl-dev
- COPY ./3rdparty/ZLToolKit.tar.gz /root
- RUN cd /root/ && tar -zxvf ZLToolKit.tar.gz
- RUN cp -rf /root/ZLToolKit/lib/* /usr/local/lib/
- RUN cp -rf /root/ZLToolKit/include/* /usr/local/include/
- RUN if [ "$with_opencv_code" = "yes" ]; then \
- cd /root && git clone -b 4.1.1 https://gitee.com/flay/opencv.git && \
- cd /root/opencv && mkdir build && cd /root/opencv/build && \
- cmake .. && make -j4 && make install && \
- rm -rf /root/opencv; \
- fi
- WORKDIR /workspace
|