mirror of
https://github.com/Icinga/docker-icinga2.git
synced 2025-10-30 23:00:59 +01: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
d9eefa6a38
commit
62ccdab6af
@ -25,7 +25,7 @@ if ! docker buildx version; then
|
||||
fi
|
||||
|
||||
OUR_DIR="$(realpath "$(dirname "$0")")"
|
||||
COMMON_ARGS=(-t "icinga/icinga2:$TAG" --build-context "icinga2-git=$(realpath "$I2SRC")/.git" "$OUR_DIR")
|
||||
COMMON_ARGS=(-t "icinga/icinga2:$TAG" --build-context "icinga2-git=$(realpath "$I2SRC")/.git/" "$OUR_DIR")
|
||||
BUILDX=(docker buildx build --platform "$(cat "${OUR_DIR}/platforms.txt")")
|
||||
|
||||
case "$ACTION" in
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user