This is an automated email from the ASF dual-hosted git repository. dockerzhang pushed a commit to branch master in repository https://gitbox.apache.org/repos/asf/inlong.git
The following commit(s) were added to refs/heads/master by this push: new 8c063a291 [INLONG-5816][Docker] Add platform for aarch64 (#5817) 8c063a291 is described below commit 8c063a291e222effd47f229dcab4b190604c5c77 Author: Lucas <100204617+lucaspeng12...@users.noreply.github.com> AuthorDate: Wed Sep 7 18:53:52 2022 +0800 [INLONG-5816][Docker] Add platform for aarch64 (#5817) --- docker/build-docker-images.sh | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/docker/build-docker-images.sh b/docker/build-docker-images.sh index dc2c43458..05790e87b 100644 --- a/docker/build-docker-images.sh +++ b/docker/build-docker-images.sh @@ -57,6 +57,11 @@ for (( i=1; i<=$#; i++)); do echo "Wrong arch name: ${BUILD_ARCH}. Please input aarch64 or x86." exit 1 fi + if [ "$BUILD_ARCH" = "$ARCH_AARCH64" ]; then + USE_PLATFORM="$PLATFORM_AARCH64" + else + USE_PLATFORM="$PLATFORM_X86" + fi shift elif [ "${!i}" = "-h" ] || [ "${!i}" = "--help" ]; then helpFunc