Commit be91ed3d authored by xuebingbing's avatar xuebingbing

1 修复ubuntu_small docker 内部不能显示中文信息的bug“

parent 44692d40
...@@ -4,5 +4,5 @@ docker build --add-host --add-host=codeload.github.com:140.82.114.9 --add-host=g ...@@ -4,5 +4,5 @@ docker build --add-host --add-host=codeload.github.com:140.82.114.9 --add-host=g
#docker run -dit --privileged -v /home:/masterhome --name xuebb-test1221 --add-host --add-host=codeload.github.com:140.82.114.9 --add-host=github.com:140.82.113.4 --add-host=github.global.ssl.fastly.net:199.232.69.194 --add-host=s3.amazonaws.com:52.216.141.6 --add-host=github-cloud.s3.amazonaws.com:52.216.128.147 f8894edf0a24 /bin/bash #docker run -dit --privileged -v /home:/masterhome --name xuebb-test1221 --add-host --add-host=codeload.github.com:140.82.114.9 --add-host=github.com:140.82.113.4 --add-host=github.global.ssl.fastly.net:199.232.69.194 --add-host=s3.amazonaws.com:52.216.141.6 --add-host=github-cloud.s3.amazonaws.com:52.216.128.147 f8894edf0a24 /bin/bash
docker run -dit --privileged -v /home:/masterhome --name xuebb-test0103 --add-host --add-host=codeload.github.com:140.82.114.9 --add-host=github.com:140.82.113.4 --add-host=github.global.ssl.fastly.net:199.232.69.194 --add-host=s3.amazonaws.com:52.216.141.6 --add-host=github-cloud.s3.amazonaws.com:52.216.128.147 2241b3437218 /bin/bash docker run -dit --privileged -v /data:/data --name xuebb-test0103 --add-host --add-host=codeload.github.com:140.82.114.9 --add-host=github.com:140.82.113.4 --add-host=github.global.ssl.fastly.net:199.232.69.194 --add-host=s3.amazonaws.com:52.216.141.6 --add-host=github-cloud.s3.amazonaws.com:52.216.128.147 2241b3437218 /bin/bash
...@@ -4,7 +4,7 @@ ENV DEBIAN_FRONTEND=noninteractive ...@@ -4,7 +4,7 @@ ENV DEBIAN_FRONTEND=noninteractive
RUN sed -i s@/archive.ubuntu.com/@/mirror.tuna.tsinghua.edu.cn/@g /etc/apt/sources.list RUN sed -i s@/archive.ubuntu.com/@/mirror.tuna.tsinghua.edu.cn/@g /etc/apt/sources.list
RUN apt-get update \ RUN apt-get update \
&& apt-get install -y build-essential linux-libc-dev libudev-dev libeigen3-dev libboost-all-dev libflann-dev --fix-missing \ && 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 cmake git build-essential libeigen3-dev libboost-all-dev libpdal-dev libpcl-dev gdal-bin python3-gdal python3-pip --fix-missing
RUN pip3 install pytz RUN pip3 install pytz
...@@ -20,4 +20,7 @@ RUN git clone --branch master http://git.corp.roadlinks.cn:2020/xueye9/fmt_conve ...@@ -20,4 +20,7 @@ RUN git clone --branch master http://git.corp.roadlinks.cn:2020/xueye9/fmt_conve
RUN cd fmt_converter && cmake -DCMAKE_INSTALL_PREFIX=/usr/local/ . \ RUN cd fmt_converter && cmake -DCMAKE_INSTALL_PREFIX=/usr/local/ . \
&& make -j16 && make install && ldconfig && 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 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
ENV LANG C.UTF-8
RUN ldconfig
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