- #!/usr/bin/env bash
- set -euo pipefail
- set -x
- base_directory=$(git rev-parse --show-toplevel)
- docker buildx build \
- --tag="synthseg:latest" \
- --load \
- "${base_directory}/code/synthseg"
- singularity \
- build \
- --disable-cache \
- "${base_directory}/synthseg.sif" \
- "docker-daemon://synthseg:latest"
|