9 lines
307 B
Bash
Executable File
9 lines
307 B
Bash
Executable File
#!/bin/sh
|
|
set -eu
|
|
cd "$(dirname "$0")/.."
|
|
DOCKER_BIN=${DOCKER_BIN:-docker}
|
|
"$DOCKER_BIN" info >/dev/null
|
|
"$DOCKER_BIN" compose config --quiet
|
|
"$DOCKER_BIN" compose build --pull
|
|
"$DOCKER_BIN" image inspect pigway-frame-flow:latest --format 'image={{.Id}} size_bytes={{.Size}} architecture={{.Architecture}}'
|