Skip to content

Commit

Permalink
build.bash: workaround a bug in docker buildx build CLI
Browse files Browse the repository at this point in the history
--build-context dirs seem to have to end with a / to be accepted.
  • Loading branch information
Al2Klimov authored Feb 1, 2024
1 parent b6f6544 commit da258e8
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion build.bash
Original file line number Diff line number Diff line change
Expand Up @@ -25,7 +25,7 @@ if ! docker buildx version; then
fi

OUR_DIR="$(realpath "$(dirname "$0")")"
COMMON_ARGS=(-t "icinga/icingadb:$TAG" --build-context "icingadb-git=$(realpath "$IDBSRC")/.git" "$OUR_DIR")
COMMON_ARGS=(-t "icinga/icingadb:$TAG" --build-context "icingadb-git=$(realpath "$IDBSRC")/.git/" "$OUR_DIR")
BUILDX=(docker buildx build --platform "$(cat "${OUR_DIR}/platforms.txt")")

case "$ACTION" in
Expand Down

0 comments on commit da258e8

Please sign in to comment.