2024-09-17 14:11:00 +03:00
|
|
|
#!/bin/sh
|
|
|
|
set -ef
|
|
|
|
cd "$(dirname "$0")/.."
|
|
|
|
|
2024-11-18 11:30:16 +03:00
|
|
|
IMAGE_VERSION="${IMAGE_VERSION:-v0.0.7}"
|
2024-09-20 02:07:12 +03:00
|
|
|
|
2024-09-17 14:11:00 +03:00
|
|
|
set -a
|
|
|
|
BUILDAH_FORMAT="${BUILDAH_FORMAT:-docker}"
|
|
|
|
BUILDAH_ISOLATION="${BUILDAH_ISOLATION:-chroot}"
|
|
|
|
BUILDAH_NETWORK="${BUILDAH_NETWORK:-host}"
|
|
|
|
set +a
|
|
|
|
|
2024-09-20 02:07:12 +03:00
|
|
|
img="docker.io/rockdrilla/angie-conv:${IMAGE_VERSION}-deps"
|
2024-09-17 14:11:00 +03:00
|
|
|
|
|
|
|
exec buildah bud \
|
|
|
|
-f ./Dockerfile.deps \
|
|
|
|
-t "${img}" \
|
2024-09-20 02:07:12 +03:00
|
|
|
--pull=missing --no-cache \
|
|
|
|
--build-arg "IMAGE_VERSION=${IMAGE_VERSION}" \
|