|
@@ -13,21 +13,17 @@ RUN apt-get update && \
|
|
build-essential \
|
|
build-essential \
|
|
cmake \
|
|
cmake \
|
|
libmysqlclient-dev \
|
|
libmysqlclient-dev \
|
|
- libssl-dev
|
|
|
|
-
|
|
|
|
-COPY ./3rdparty/ZLToolKit.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/
|
|
|
|
-
|
|
|
|
-#RUN if [ "$with_zltoolkit_code" = "yes" ]; then \
|
|
|
|
-# # apt remove ca-certificates && apt install -y --no-install-recommends apt-utils ca-certificates && \
|
|
|
|
-# cd /root && git clone https://gitee.com/xia-chu/ZLToolKit.git ZLToolKit && \
|
|
|
|
-# cd /root/ZLToolKit && \
|
|
|
|
-# sed -i 's/sudo//g' build_for_linux.sh && ./build_for_linux.sh && \
|
|
|
|
-# rm -rf /root/ZLToolKit; \
|
|
|
|
-# fi
|
|
|
|
|
|
+ libssl-dev \
|
|
|
|
+ libgoogle-glog-dev \
|
|
|
|
+ libgflags-dev
|
|
|
|
+
|
|
|
|
+RUN if [ "$with_zltoolkit_code" = "yes" ]; then \
|
|
|
|
+ # apt remove ca-certificates && apt install -y --no-install-recommends apt-utils ca-certificates && \
|
|
|
|
+ cd /root && git clone https://gitee.com/xia-chu/ZLToolKit.git ZLToolKit && \
|
|
|
|
+ cd /root/ZLToolKit && \
|
|
|
|
+ sed -i 's/sudo//g' build_for_linux.sh && ./build_for_linux.sh && \
|
|
|
|
+ rm -rf /root/ZLToolKit; \
|
|
|
|
+ fi
|
|
|
|
|
|
RUN if [ "$with_opencv_code" = "yes" ]; then \
|
|
RUN if [ "$with_opencv_code" = "yes" ]; then \
|
|
cd /root && git clone -b 4.1.1 https://gitee.com/flay/opencv.git && \
|
|
cd /root && git clone -b 4.1.1 https://gitee.com/flay/opencv.git && \
|