AMICI docker images are regularly published to https://hub.docker.com/r/dweindl/amici.
The commands below are for use with Docker. When using Podman, just replace
docker by podman.
In the AMICI base directory run:
git archive -o container/amici.tar.gz --format=tar.gz HEAD
cd container && docker build -t $USER/amici:latest .Note that this will include files from the last commit, but no uncommitted changes.
docker pull dweindl/amici:latestIn the AMICI base directory run:
# prepare amici files to be copied to the image
# Note that this will include files from the last commit, but no uncommitted
# changes.
git archive -o container/amici.tar.gz --format=tar.gz HEAD
# install spython if necessary
test -x "$(command -v spython)" || pip install spython
# convert Dockerfile to singularity/apptainer definition using spython
(cd container/ && spython recipe Dockerfile amici.def)
# build image
(cd container/ && singularity build amici.sif amici.def)singularity pull docker://dweindl/amici:latest