powerPlant/eddypro-engine-srf:5.2.1

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

Singularity Recipe

Bootstrap: docker
From: ubuntu:bionic

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

%environment
 PATH=/eddypro-engine-5.2.1/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/v5.2.1.tar.gz
  tar -xzf v5.2.1.tar.gz
  cd /eddypro-engine-5.2.1/prj
  make Makefile_rp
  make Makefile_fcc

  ## Cleanup
  rm -rf /eddypro-engine-5.2.1/prj /eddypro-engine-5.2.1/src /v5.2.1.tar.gz
  apt-get -y remove --autoremove gfortran make wget
  apt-get -y clean all

%runscript
if [ $# -eq 0 ]; then
  /bin/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'
  exec ls /eddypro-engine-5.2.1/bin/linux
else
  exec "$@"
fi

Collection


View on Datalad

Metrics

key value
id /containers/powerPlant-eddypro-engine-srf-5.2.1
collection name powerPlant/eddypro-engine-srf
branch master
tag 5.2.1
commit d8fad427ea8e058689943cdd37887f38a99897c4
version (container hash) 0f1bfe3ee8206eeaae3611ff4b8eeba2
build date 2019-02-12T08:29:40.436Z
size (MB) 116
size (bytes) 57270303
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.