houzhengyang/gears-singularity:gears-treeseg-burt
$ singularity pull shub://houzhengyang/gears-singularity:gears-treeseg-burt
Singularity Recipe
BootStrap: debootstrap
OSVersion: bionic
MirrorURL: http://archive.ubuntu.com/ubuntu/
Include: bash
# TLS Apps?
%environment
LD_LIBRARY_PATH=$LD_LIBRARY_PATH:/usr/local/lib:/usr/lib
export LD_LIBRARY_PATH
%post
# Setup locale and core build dependencies::
sed -i 's/main/main restricted universe/g' /etc/apt/sources.list
apt-get update
apt-get install -y locales
locale-gen en_US.UTF-8
apt-get install -y git cmake
### las2pcd: https://github.com/murtiad/las2pcd
cd
apt-get install -y libpcl-dev liblas-dev liblas-c-dev
git clone -b treeseg_fix https://github.com/gearslaboratory/las2pcd.git
cd las2pcd
cmake .
make
mv las2pcd /usr/bin/
## treeseg: https://github.com/apburt/treeseg
cd
apt-get install -y libarmadillo-dev libproj-dev libpcl-dev
git clone -b ubuntu-singularity-verbose https://github.com/gearslaboratory/treeseg.git
cd treeseg
mkdir build
cd build
cmake ../src
make
mv libtreeseg.so /usr/local/lib
mv libleafsep.so /usr/local/lib
mv * /usr/local/bin
Collection
- Name: houzhengyang/gears-singularity
- License: None
View on Datalad
Metrics
key | value |
---|---|
id | /containers/houzhengyang-gears-singularity-gears-treeseg-burt |
collection name | houzhengyang/gears-singularity |
branch | master |
tag | gears-treeseg-burt |
commit | 88ac752dbc23abd7475bf6dd5014ede15b11220e |
version (container hash) | e4e16cc9ba4bd2b19736f570fd765feb |
build date | 2018-06-08T05:56:44.723Z |
size (MB) | 2739 |
size (bytes) | 1106026527 |
SIF | Download URL (please use pull with shub://) |
Datalad URL | View on Datalad |
Singularity Recipe | Singularity Recipe on Datalad |
Feedback
Was this page helpful?
Glad to hear it! Please tell us how we can improve.
Sorry to hear that. Please tell us how we can improve.