powerPlant/eddypro-engine-srf:latest

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

Singularity Recipe

Bootstrap: docker
From: ubuntu:bionic

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

%environment
 PATH=/eddypro-engine-6.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/v6.2.1.tar.gz
  tar -xzf v6.2.1.tar.gz
  cd /eddypro-engine-6.2.1/prj
  make rp
  make fcc

  ## Cleanup
  rm -rf /eddypro-engine-6.2.1/prj /eddypro-engine-6.2.1/src /v6.2.1.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.1/bin/linux
else
  "$@"
fi

Collection


View on Datalad

Metrics

key value
id /containers/powerPlant-eddypro-engine-srf-latest
collection name powerPlant/eddypro-engine-srf
branch master
tag latest
commit 07aefcc438c0f5f10a1f5de88a836c3e0b7a9fc1
version (container hash) be00904375d8e737f016ef39257f9444
build date 2019-02-01T14:00:56.299Z
size (MB) 132
size (bytes) 65376287
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.