Skip to content

Instantly share code, notes, and snippets.

@sbamin
Created September 20, 2023 18:53
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save sbamin/95647ee7dbe78493565a4fdde104d451 to your computer and use it in GitHub Desktop.
Save sbamin/95647ee7dbe78493565a4fdde104d451 to your computer and use it in GitHub Desktop.
cytotable apptainer def file - for debug only
Bootstrap: docker
From: python:3.10.11
Stage: build
%environment
export my_appimg="cytotable_0.0.1p2"
%labels
Maintainer sbamin
Image CytoTable
Version v0.0.1p2
Source https://github.com/cytomining/CytoTable
%post
pip install git+https://github.com/cytomining/CytoTable.git
my_build_date="$(date)"
echo "export my_build_date=\"${my_build_date}\"" >> "${APPTAINER_ENVIRONMENT}"
%test
echo 'Looking for CytoTable...'
( pip freeze | grep -Ei 'cytotable' ) && echo 'Success! Installed CytoTable' || echo "ERROR: Could not locate CytoTable in the container."
%help
CytoTable Apptainer container. To start: singularity run cytotable_0.0.1p2.sif
See https://cytomining.github.io/CytoTable/
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment