mirror of
https://github.com/Icinga/docker-icingaweb2.git
synced 2025-10-22 12:31:00 +02:00
build.bash: workaround a bug in docker buildx build CLI
--build-context dirs seem to have to end with a / to be accepted.
This commit is contained in:
parent
c937e99b7e
commit
91d7b0c278
@ -26,7 +26,7 @@ if ! docker buildx version; then
|
|||||||
fi
|
fi
|
||||||
|
|
||||||
OUR_DIR="$(realpath "$(dirname "$0")")"
|
OUR_DIR="$(realpath "$(dirname "$0")")"
|
||||||
COMMON_ARGS=(-t "icinga/icingaweb2:$TAG" --build-context "icingaweb2-git=$(realpath "$IW2SRC")/.git" --build-arg "BUILD_MODE=$BUILD_MODE" "$OUR_DIR")
|
COMMON_ARGS=(-t "icinga/icingaweb2:$TAG" --build-context "icingaweb2-git=$(realpath "$IW2SRC")/.git/" --build-arg "BUILD_MODE=$BUILD_MODE" "$OUR_DIR")
|
||||||
BUILDX=(docker buildx build --platform "$(cat "${OUR_DIR}/platforms.txt")")
|
BUILDX=(docker buildx build --platform "$(cat "${OUR_DIR}/platforms.txt")")
|
||||||
|
|
||||||
case "$ACTION" in
|
case "$ACTION" in
|
||||||
|
Loading…
x
Reference in New Issue
Block a user