powerPlant/apsimx-srf:2018.09.28.3099
$ singularity pull shub://powerPlant/apsimx-srf:2018.09.28.3099
Singularity Recipe
Bootstrap: docker
From: ubuntu:bionic
%labels
Maintainer eric.burgueno@plantandfood.co.nz
Version 2018.09.28.3099
%setup
curl --silent -o ${SINGULARITY_ROOTFS}/ApsimSetup.deb http://apsimdev.apsim.info/ApsimXFiles/ApsimSetup3099.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 /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 /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-2018.09.28.3099 |
collection name | powerPlant/apsimx-srf |
branch | master |
tag | 2018.09.28.3099 |
commit | 6e59e6919b1cfa1140d84f94f78cf8b530d02ae3 |
version (container hash) | 8329f89ea9a9dce7b3be975eba3386aafee4dd126091384f7ba9907e033936df |
build date | 2020-10-22T03:08:30.318Z |
size (MB) | 323.51171875 |
size (bytes) | 339226624 |
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.