powerPlant/apsimx-srf:2020.08.04.5350
$ singularity pull shub://powerPlant/apsimx-srf:2020.08.04.5350
Singularity Recipe
Bootstrap: docker
From: ubuntu:bionic
%labels
Maintainer eric.burgueno@plantandfood.co.nz
Version 2020.08.04.5350
%setup
curl --silent -o ${SINGULARITY_ROOTFS}/tmp/ApsimSetup.deb http://apsimdev.apsim.info/ApsimXFiles/ApsimSetup5350.deb
%post
## Configure timezone
apt-get update
apt-get -y install tzdata
ln -fs /usr/share/zoneinfo/Pacific/Auckland /etc/localtime && dpkg-reconfigure -f noninteractive tzdata
## Install from deb file
apt -y install /tmp/ApsimSetup.deb
## Create entrypoint
cp -a /usr/local/bin/apsim /usr/local/bin/apsimmodels
sed -i 's/ApsimNG/Models/' /usr/local/bin/apsimmodels
## Cleanup
rm -rf /tmp/ApsimSetup.deb
apt-get -y clean all
apt-get -y autoremove --purge
%runscript
exec /usr/local/bin/apsimmodels "$@"
Collection
- Name: powerPlant/apsimx-srf
- License: None
View on Datalad
Metrics
key | value |
---|---|
id | /containers/powerPlant-apsimx-srf-2020.08.04.5350 |
collection name | powerPlant/apsimx-srf |
branch | master |
tag | 2020.08.04.5350 |
commit | 6e59e6919b1cfa1140d84f94f78cf8b530d02ae3 |
version (container hash) | 67099a9fbeaa47c1eea6db82e94119f6b8b5a359d4bbe05b342be5c8a55243c8 |
build date | 2020-10-22T02:42:04.631Z |
size (MB) | 354.0703125 |
size (bytes) | 371269632 |
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.