postgresql-citus-patroni-image/build-scripts/image-deps.sh

19 lines
414 B
Bash
Raw Normal View History

2024-08-13 09:20:08 +03:00
#!/bin/sh
set -ef
cd "$(dirname "$0")/.."
set -a
BUILDAH_FORMAT="${BUILDAH_FORMAT:-docker}"
BUILDAH_ISOLATION="${BUILDAH_ISOLATION:-chroot}"
BUILDAH_NETWORK="${BUILDAH_NETWORK:-host}"
set +a
2024-12-04 21:17:59 +03:00
img="docker.io/rockdrilla/postgresql:deps-v2"
base="docker.io/rockdrilla/postgresql:base-v2"
2024-08-13 09:20:08 +03:00
exec buildah bud \
-f ./Dockerfile.deps \
-t "${img}" \
2024-12-04 21:17:59 +03:00
--pull=missing --no-cache \
--build-arg "BASE_IMAGE=${base}" \