#!/bin/sh # Build a Singularity (SquashFS) image of mempang-workshop plus a # minimal shell environment, and drop a copy in ~/tmp. See # lib-pangenome-pack.sh for the naming convention and outputs. # # Usage: scripts/create-singularity-pangenome-tools.sh . "$(dirname "$0")/lib-pangenome-pack.sh" pangenome_pack squashfs gz.squashfs singularity pangenome_write_outputs echo echo "Singularity image ready:" ls -lh "$PACK_TARGET" echo "md5sum: $MD5SUM_FILE" echo "inventory: $INVENTORY" echo echo "Run with:" echo " singularity exec $PACK_TARGET " echo " singularity shell $PACK_TARGET"