You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@nifi.apache.org by sz...@apache.org on 2022/07/29 13:32:34 UTC
[nifi-minifi-cpp] 02/02: MINIFICPP-1894 fixing DOCKER_BASE_IMAGE flag
This is an automated email from the ASF dual-hosted git repository.
szaszm pushed a commit to branch main
in repository https://gitbox.apache.org/repos/asf/nifi-minifi-cpp.git
commit 6d8b991b18bf7c67744aa9721e566f818fda4464
Author: Martin Zink <ma...@apache.org>
AuthorDate: Thu Jul 28 16:29:14 2022 +0200
MINIFICPP-1894 fixing DOCKER_BASE_IMAGE flag
Closes #1380
Signed-off-by: Marton Szasz <sz...@apache.org>
---
docker/DockerBuild.sh | 4 ++--
1 file changed, 2 insertions(+), 2 deletions(-)
diff --git a/docker/DockerBuild.sh b/docker/DockerBuild.sh
index 527e14821..82b093917 100755
--- a/docker/DockerBuild.sh
+++ b/docker/DockerBuild.sh
@@ -85,11 +85,11 @@ while [[ $# -gt 0 ]]; do
if [ "${ARR[0]}" == "BUILD_NUMBER" ]; then
BUILD_NUMBER="${ARR[1]}"
elif [ "${ARR[0]}" == "DOCKER_BASE_IMAGE" ]; then
- BUILD_ARGS+=("--build-arg BASE_ALPINE_IMAGE=${ARR[1]}")
+ BUILD_ARGS+=("--build-arg" "BASE_ALPINE_IMAGE=${ARR[1]}")
elif [ "${ARR[0]}" == "DOCKER_CCACHE_DUMP_LOCATION" ]; then
DOCKER_CCACHE_DUMP_LOCATION="${ARR[1]}"
else
- BUILD_ARGS+=("--build-arg ${ARR[0]}=${ARR[1]}")
+ BUILD_ARGS+=("--build-arg" "${ARR[0]}=${ARR[1]}")
fi
fi
shift