diff --git a/docker/build.sh b/docker/build.sh index acdc18a4a7..7df4c52daf 100644 --- a/docker/build.sh +++ b/docker/build.sh @@ -14,15 +14,16 @@ case "`uname`" in esac BASE=${bin_abs_path} - if [ "$1" == "admin" ] ; then rm -rf $BASE/canal.*.tar.gz ; cd $BASE/../ && mvn clean package -Dmaven.test.skip -Denv=release && cd $current_path ; cp $BASE/../target/canal.admin-*.tar.gz $BASE/ docker build --no-cache -t canal/canal-admin $BASE/ -f $BASE/Dockerfile_admin + # docker build --platform linux/arm64 --no-cache -t canal/canal-admin $BASE/ -f $BASE/Dockerfile_admin else rm -rf $BASE/canal.*.tar.gz ; cd $BASE/../ && mvn clean package -Dmaven.test.skip -Denv=release && cd $current_path ; cp $BASE/../target/canal.deployer-*.tar.gz $BASE/ docker build --no-cache -t canal/canal-server $BASE/ + # docker build -platform linux/arm64 --no-cache -t canal/canal-server $BASE/ fi