1234567891011121314151617181920212223242526272829303132333435363738 |
- # 配置miva推理镜像
- # Use L4T base docker
- FROM nvcr.io/nvidia/deepstream-l4t:5.1-21.02-samples
- # install基础依赖
- 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
- COPY ./3rdparty/opencv.tar.gz /root
- # install zltoolkit
- 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/
- # install opencv
- RUN cd /root/ && tar -zxvf opencv.tar.gz
- RUN cp -rf /root/opencv/lib/* /usr/local/lib/
- RUN cp -rf /root/opencv/include/* /usr/local/include/
- # 清除缓冲
- # RUN rm ${HOME}/.cache/gstreamer-1.0/registry.*
|