Commit 5fcba9db authored by xuebingbing's avatar xuebingbing

新增谢博杰更新过的dockfile

parent f305a228
FROM osgeo/gdal:ubuntu-small-3.0.2
WORKDIR /root
ENV DEBIAN_FRONTEND=noninteractive
RUN sed -i s@/archive.ubuntu.com/@/mirror.tuna.tsinghua.edu.cn/@g /etc/apt/sources.list
RUN apt-get update \
&& apt-get install -y build-essential linux-libc-dev libudev-dev libeigen3-dev libboost-all-dev libflann-dev --fix-missing \
cmake git build-essential libeigen3-dev libboost-all-dev libpdal-dev libpcl-dev python3-gdal python3-pip --fix-missing
RUN pip3 install pytz
RUN git clone --branch dev_linux_jdout http://yangzj:06078juefx@git.corp.roadlinks.cn:2020/yangzj/tiffsample.git tiffsample \
&& mkdir -p tiffsample/build \
&& cd tiffsample/build \
&& cmake ../src \
&& make -j4 \
&& cp ./tiffSampleCreater /usr/local/bin/tiffSampleCreater && cd .. && \
cp tiff_run.sh /usr/local/bin/tiff_run.sh && chmod a+x /usr/local/bin/tiff_run.sh
RUN git clone --branch master http://git.corp.roadlinks.cn:2020/xueye9/fmt_converter.git fmt_converter
RUN cd fmt_converter && cmake -DCMAKE_INSTALL_PREFIX=/usr/local/ . \
&& make -j16 && make install && ldconfig
RUN cd /root && git clone --branch dev http://xueye9:800886jf@git.corp.roadlinks.cn:2020/py-tools/tools.git pytools
\ No newline at end of file
来自谢博杰的优化dockerfile
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment