10 lines
371 B
Bash
Executable file
10 lines
371 B
Bash
Executable file
#!/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
|