Files
obikmer/scripts/docker_debug/build.sh
T

6 lines
272 B
Bash
Raw Normal View History

#!/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//\//-}" .