#!/usr/bin/env bash # Builds the debug image. PLATFORM defaults to linux/amd64 (Rosetta on Apple Silicon). set -euo pipefail cd "$(dirname "${BASH_SOURCE[0]}")" PLATFORM="${PLATFORM:-linux/amd64}" docker build --platform "$PLATFORM" -t "obikmer-debug:${PLATFORM//\//-}" .