Skip to content

powerPlant/apsimx-srf

Repository files navigation

https://www.singularity-hub.org/static/img/hosted-singularity--hub-%23e32929.svg

Singularity recipe files for ApsimX, the next generation of the Agricultural Production Systems sIMulator (APSIM)

Maintainer notes

This container downloads the ApsimX deb file built by the BOB Build Service at CSIRO and installs it on a Ubuntu:Bionic container.

There are two useful endpoints from the Build Service:

ApsimSetup*.deb files are named using the build.issueNumber instead of the full version number, so we must hardcode the URLs inside the recipe files, while using the full version number for the recipe file names.

To facilitate running the container, a /usr/local/bin/apsimmodels file is created as the entrypoint using /usr/local/bin/apsim as a template.

Container-specific notes

  • ApsimX apparently needs /etc/localtime to run so we have to install tzdata as a dependency. We configure our local timezone, but this can be overridden at run time by exporting the TZ environment variable.

Releases

No releases published

Packages

No packages published