File size: 971 Bytes
9d54b72 | 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 | #!/usr/bin/env bash
#
# build vcell-opt and vcell-batch singularity images as user vcell on xanadu-76 (or equiv)
#
#
# load singularity (latest is probably okay)
#
module load singularity
#
# perform singularity remote login if needed to authenticate to ghcr.io
# uncomment and add auth info
#
#singularity remote login -u <github_user> -p <github_token> docker://ghcr.io
#
# build vcell-opt singularity container
#
export docker_image=ghcr.io/virtualcell/vcell-opt:test
export singularity_file=ghcr.io_virtualcell_vcell-opt_test.img
singularity build --force ${singularity_file} docker://${docker_image}
cp ${singularity_file} /state/partition1/singularityImages/
#
# build vcell-batch singularity container
#
export docker_image=ghcr.io/virtualcell/vcell-batch:test
export singularity_file=ghcr.io_virtualcell_vcell-batch_test.img
singularity build --force ${singularity_file} docker://${docker_image}
cp ${singularity_file} /state/partition1/singularityImages/
|