powerPlant/eddypro-engine-srf:6.2.0

$ singularity pull shub://powerPlant/eddypro-engine-srf:6.2.0

Singularity Recipe

Bootstrap: docker
From: ubuntu:bionic

%labels
Maintainer eric.burgueno@plantandfood.co.nz
Version 6.2.0

%environment
 PATH=/eddypro-engine-6.2.0/bin/linux:$PATH
 export PATH

%post
  ## Download build prerequisites
  apt-get update
  apt-get -y install gfortran libgfortran4 make wget

  wget -q https://github.com/LI-COR/eddypro-engine/archive/v6.2.0.tar.gz
  tar -xzf v6.2.0.tar.gz
  cd /eddypro-engine-6.2.0/prj
  make rp
  make fcc

  ## Cleanup
  rm -rf /eddypro-engine-6.2.0/prj /eddypro-engine-6.2.0/src /v6.2.0.tar.gz
  apt-get -y remove --autoremove gfortran make wget
  apt-get -y clean all

%runscript
if [[ $# -eq 0 ]]; then
  echo -e "This Singularity image cannot provide a single entrypoint. Please use `<image-name.simg> <CMD>` or `singularity exec <image-name.simg> <CMD>`, where <CMD> is one of the  following:\n"
  ls /eddypro-engine-6.2.0/bin/linux
else
  "$@"
fi

Collection


View on Datalad

Metrics

key value
id /containers/powerPlant-eddypro-engine-srf-6.2.0
collection name powerPlant/eddypro-engine-srf
branch master
tag 6.2.0
commit d8fad427ea8e058689943cdd37887f38a99897c4
version (container hash) 6b744cee2dba040f308ea0689e5c6d1d
build date 2019-02-11T22:21:31.705Z
size (MB) 132
size (bytes) 65400863
SIF Download URL (please use pull with shub://)
Datalad URL View on Datalad
Singularity Recipe Singularity Recipe on Datalad
We cannot guarantee that all containers will still exist on GitHub.