Skip to content
Projects
Groups
Snippets
Help
Loading...
Sign in / Register
Toggle navigation
F
fmt_converter
Project
Project
Details
Activity
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Packages
Packages
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
xuebingbing
fmt_converter
Commits
be91ed3d
Commit
be91ed3d
authored
Jan 13, 2021
by
xuebingbing
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
1 修复ubuntu_small docker 内部不能显示中文信息的bug“
parent
44692d40
Show whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
5 additions
and
2 deletions
+5
-2
build.sh
docker/ubuntu1804/build.sh
+1
-1
Dockerfile
docker/ubuntu_small/Dockerfile
+4
-1
No files found.
docker/ubuntu1804/build.sh
View file @
be91ed3d
...
@@ -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
docker/ubuntu_small/Dockerfile
View file @
be91ed3d
...
@@ -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
...
@@ -21,3 +21,6 @@ RUN cd fmt_converter && cmake -DCMAKE_INSTALL_PREFIX=/usr/local/ . \
...
@@ -21,3 +21,6 @@ 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
ENV
LANG C.UTF-8
RUN
ldconfig
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment