cailmdaley/s2:latest
$ singularity pull shub://cailmdaley/s2:latest
Singularity Recipe
BootStrap: docker
From: ubuntu:latest
%post
apt-get update
apt-get install -y git cmake g++ swig python-dev ipython
apt-get install -y libgflags-dev libgoogle-glog-dev libgtest-dev libssl-dev
git clone https://github.com/google/s2geometry.git
cd s2geometry && mkdir build && cd build
cmake .. \
-DCMAKE_INSTALL_PREFIX=/usr \
-DWITH_GFLAGS=ON \
-WITH_GTEST=ON -DGTEST_ROOT=/usr/src/gtest \
-DPYTHON_INCLUDE_DIR=/usr/include/python2.7 \
-DPYTHON_LIBRARY=/usr/lib/python2.7/config-x86_64-linux-gnu/libpython2.7.so
make && make install
%test
cd s2geometry/build
make test
Collection
- Name: cailmdaley/s2
- License: None
View on Datalad
Metrics
key | value |
---|---|
id | /containers/cailmdaley-s2-latest |
collection name | cailmdaley/s2 |
branch | master |
tag | latest |
commit | ecc64d5ca956fda0bef6c0faa51468588dee7162 |
version (container hash) | f62331ec8825ec9409a40689d35db08c |
build date | 2019-07-04T08:37:38.271Z |
size (MB) | 690 |
size (bytes) | 233652255 |
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.