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
0393b0ad
Commit
0393b0ad
authored
Jan 02, 2021
by
xuebingbing
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
1 新增生成jd源数据的功能docker 编译
parent
4aadb135
Show whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
25 additions
and
3 deletions
+25
-3
Dockerfile
docker/ubuntu1804/Dockerfile
+7
-3
readme.md
docker/ubuntu1804/readme.md
+18
-0
No files found.
docker/ubuntu1804/Dockerfile
View file @
0393b0ad
...
...
@@ -21,15 +21,18 @@ echo "deb-src http://mirrors.aliyun.com/ubuntu/ bionic-backports main restricted
RUN
apt-get update
-y
\
&&
apt-get upgrade
-y
\
&&
DEBIAN_FRONTEND
=
noninteractive apt-get
install
--assume-yes
apt-utils autoconf pkg-config libtool cmake
\
libpdal-dev libpcl-dev git vim
libpdal-dev libpcl-dev git vim
python3-gdal
WORKDIR
/build
RUN
git clone
--branch
master http://git.corp.roadlinks.cn:2020/xueye9/fmt_converter.git fmt_converter
W
orkdir
/build/build
W
ORKDIR
/build/build
RUN
cmake
-DCMAKE_INSTALL_PREFIX
=
/installed /build/fmt_converter
\
&&
make
-j16
&&
make
install
WORKDIR
/xuebb
RUN
git clone
--branch
dev http://git.corp.roadlinks.cn:2020/py-tools/tools.git pytools
#编译相关自己的源代码
#通过拷贝的方式减小镜像大小 build final image
...
...
@@ -53,7 +56,7 @@ echo "deb-src http://mirrors.aliyun.com/ubuntu/ bionic-backports main restricted
RUN
apt-get update
-y
\
&&
apt-get upgrade
-y
\
&&
DEBIAN_FRONTEND
=
noninteractive apt-get
install
--assume-yes
apt-utils
\
pdal libpcl-dev libpcl-io1.8
pdal libpcl-dev libpcl-io1.8
python3-gdal
#RUN apt-get update -y \
# && apt upgrade -y \
...
...
@@ -63,6 +66,7 @@ COPY --from=builder /installed/include/ /usr/include/
COPY
--from=builder /installed/bin/ /usr/bin/
COPY
--from=builder /installed/lib/ /usr/lib/x86_64-linux-gnu/
COPY
--from=builder /installed/share/ /usr/share/
COPY
--from=builder /xuebb/pytools/jd_metadata_generator.py /usr/local/
ENV
LANG C.UTF-8
RUN
ldconfig
...
...
docker/ubuntu1804/readme.md
0 → 100644
View file @
0393b0ad
#程序运行说明
eg:
docker exec -it
<container
_id
>
/usr/bin/jfhdconvertor --help
-
example command line options
Usage:
/usr/bin/jfhdconvertor
[
OPTION...
]
-m, --mode arg pcd2las,pcd2las.auto (default: pcd2las.auto)
-h, --help Print help
pcd2las.auto options:
--workdir arg 自动化的任务根目录
pcd2las options:
--pcdfile arg 输入pcd文件路径
--lasfile arg 输出las文件路径
--offsetxyz arg A list of doubles (default: 0.0,0.0,0.0)
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