Michael-Stevens-27/silverblaze:def
$ singularity pull shub://Michael-Stevens-27/silverblaze:def
Singularity Recipe
Bootstrap: debootstrap
OSversion: xenial
MirrorURL: http://archive.ubuntu.com/ubuntu/
%post
mkdir /data
apt-get update
## Add more repos
apt-get install -y software-properties-common
## Add universe
add-apt-repository universe
apt-get update
apt-get install -y vim git wget tar unzip sharutils sudo curl
apt-get install -y libxml2-dev freeglut3-dev libgeos-dev libcurl4-openssl-dev libssl-dev libssh2-1-dev libfftw3-dev libfftw3-doc apt-transport-https libpng-dev
add-apt-repository 'deb [arch=amd64,i386] https://cran.rstudio.com/bin/linux/ubuntu xenial/'
apt-get update
apt-get install -y --allow-unauthenticated r-base
# download repo for GDAL
add-apt-repository -y ppa:ubuntugis/ppa
apt-get update
apt-get install -y gdal-bin libproj-dev libgdal-dev
# set locale
locale-gen en_GB.UTF-8
# R PACKAGES
R --vanilla <<END
Sys.setlocale("LC_ALL", "en_GB.UTF-8")
# CRAN packages
Sys.setenv("PKG_CXXFLAGS"="-std=c++11")
install.packages("geosphere", repos='http://cran.us.r-project.org')
install.packages("scales", repos='http://cran.us.r-project.org')
install.packages("jpeg", repos='http://cran.us.r-project.org')
install.packages("proto", repos='http://cran.us.r-project.org')
install.packages("rjson", repos='http://cran.us.r-project.org')
install.packages("devtools", repos='http://cran.us.r-project.org')
install.packages("rgdal", repos='http://cran.us.r-project.org')
install.packages("RgoogleMaps", repos='http://cran.us.r-project.org')
library(devtools)
install_github("dkahle/ggmap")
install_github("bobverity/Rgeoprofile")
install_github("michael-stevens-27/silverblaze")
Collection
- Name: Michael-Stevens-27/silverblaze
- License: MIT License
View on Datalad
Metrics
key | value |
---|---|
id | /containers/Michael-Stevens-27-silverblaze-def |
collection name | Michael-Stevens-27/silverblaze |
branch | master |
tag | def |
commit | c15949c859b5c0634ff605ef84a7c4ace4258d77 |
version (container hash) | f5e91ecf1686fe5abfb13802faf2fc15 |
build date | 2019-01-18T10:30:20.566Z |
size (MB) | 1906 |
size (bytes) | 793169951 |
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.