scripts/nym: build.sh for localhost/koopa-nym image

This commit is contained in:
Hernâni Marques 2026-07-16 15:44:22 +02:00
parent 6814aea27f
commit 2c3f1b1aa3

10
scripts/nym/build.sh Executable file
View file

@ -0,0 +1,10 @@
#!/bin/bash
# Build localhost/koopa-nym:latest from configs/nym/Containerfile
set -euo pipefail
ROOT=$(cd "$(dirname "$0")/../.." && pwd)
SRC="${NYM_SRC:-$ROOT/configs/nym}"
TAG="${NYM_IMAGE:-localhost/koopa-nym:latest}"
cd "$SRC"
podman build -t "$TAG" -f Containerfile .
echo "built $TAG"
podman image inspect "$TAG" --format '{{.Id}} {{.Created}}' 2>/dev/null || true