magland/ml_ms4alg:v0.1.4

$ singularity pull shub://magland/ml_ms4alg:v0.1.4

Singularity Recipe

Bootstrap: shub
FROM: magland/mlsing

%labels
    Maintainer Jeremy Magland

%setup
  mkdir ${SINGULARITY_ROOTFS}/working
  cp -r . ${SINGULARITY_ROOTFS}/working/src

%post
  echo "################################## Activating conda environment"
  . /opt/conda/etc/profile.d/conda.sh
  conda activate mountainlab
  
  echo "################################## Installing gcc"
  apt-get update && apt-get install -y build-essential

  echo "################################## Installing ML package"
  pip install /working/src
  ml-link-python-module ml_ms4alg `ml-config package_directory`/ml_ms4alg

  echo "################################## Testing package"
  ml-list-processors

%environment
  . /opt/conda/etc/profile.d/conda.sh
  conda activate mountainlab

Collection


View on Datalad

Metrics

key value
id /containers/magland-ml_ms4alg-v0.1.4
collection name magland/ml_ms4alg
branch master
tag v0.1.4
commit 357aa2a5488abd7b9094b85c825e468712acb58d
version (container hash) 6815b5036bf3368abbce3db4e97550de
build date 2021-04-15T20:12:50.155Z
size (MB) 1303
size (bytes) 500207647
SIF Download URL (please use pull with shub://)
Datalad URL View on Datalad
Singularity Recipe Singularity Recipe on Datalad
We cannot guarantee that all containers will still exist on GitHub.