1
0
angie-conv-image/build-scripts/image-deps.sh

20 lines
435 B
Bash
Executable File

#!/bin/sh
set -ef
cd "$(dirname "$0")/.."
IMAGE_VERSION="${IMAGE_VERSION:-v0.0.7}"
set -a
BUILDAH_FORMAT="${BUILDAH_FORMAT:-docker}"
BUILDAH_ISOLATION="${BUILDAH_ISOLATION:-chroot}"
BUILDAH_NETWORK="${BUILDAH_NETWORK:-host}"
set +a
img="docker.io/rockdrilla/angie-conv:${IMAGE_VERSION}-deps"
exec buildah bud \
-f ./Dockerfile.deps \
-t "${img}" \
--pull=missing --no-cache \
--build-arg "IMAGE_VERSION=${IMAGE_VERSION}" \