scripts/nym: build.sh for localhost/koopa-nym image
This commit is contained in:
parent
6814aea27f
commit
2c3f1b1aa3
1 changed files with 10 additions and 0 deletions
10
scripts/nym/build.sh
Executable file
10
scripts/nym/build.sh
Executable 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
|
||||
Loading…
Add table
Add a link
Reference in a new issue