17 lines
328 B
Bash
17 lines
328 B
Bash
|
#!/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
|
||
|
|
||
|
img="docker.io/rockdrilla/postgresql:deps-v1"
|
||
|
|
||
|
exec buildah bud \
|
||
|
-f ./Dockerfile.deps \
|
||
|
-t "${img}" \
|
||
|
--pull=missing --no-cache
|