This is an automated email from the ASF dual-hosted git repository.
jinsongzhou pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/amoro.git
The following commit(s) were added to refs/heads/master by this push:
new 890640b4c [hotfix] Fix some minor issues about docker (#2873)
890640b4c is described below
commit 890640b4cc27641fe51757f686133c4599381c03
Author: xleoken <[email protected]>
AuthorDate: Wed May 29 10:28:14 2024 +0800
[hotfix] Fix some minor issues about docker (#2873)
---
docker/README.md | 2 +-
docker/build.sh | 1 +
2 files changed, 2 insertions(+), 1 deletion(-)
diff --git a/docker/README.md b/docker/README.md
index 08322ffa9..b47ea99b5 100644
--- a/docker/README.md
+++ b/docker/README.md
@@ -32,7 +32,7 @@ e.g.
```
- NOTICE: The amoro image, amoro-spark-optimizer image and
amoro-flink-optimizer image required the project had been packaged.
- So run `mvn package -pl '!amoro-mixed-fomrat/amoro-mixed-format-trino'`
before building amoro, amoro-spark-optimizer, or amoro-flink-optimizer image.
+ So run `mvn clean package -DskipTests` before building amoro,
amoro-spark-optimizer, or amoro-flink-optimizer image.
You can speed up image building via
diff --git a/docker/build.sh b/docker/build.sh
index 1f33faea6..458162247 100755
--- a/docker/build.sh
+++ b/docker/build.sh
@@ -206,6 +206,7 @@ function build_amoro() {
local BUILD_CMD="mvn clean package -am -e -pl amoro-ams/dist -DskipTests "
echo "Amoro dist package is not exists in ${DIST_FILE}"
echo "please check file or run '$BUILD_CMD' first"
+ exit 1
fi
set -x