We provide a bash script to help you build docker image easier.
You can control which image is built by the follow parameters :
- amoro
- amoro-flink-optimizer
- amoro-spark-optimizer
e.g.
./build.sh amoro
- 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.
You can speed up image building via
./build.sh \
--apache-archive https://mirrors.aliyun.com/apache \
--debian-mirror https://mirrors.aliyun.com \
amoro-flink-optimizer
more options see ./build.sh --help