Skip to content

Files

Latest commit

ef274b1 · Sep 3, 2024

History

History
This branch is 2 commits ahead of, 137 commits behind apache/amoro:master.

docker

How to build docker images

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 clean package -DskipTests 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  \
  --maven-mirror https://maven.aliyun.com/repository/public  \
  amoro-flink-optimizer

more options see ./build.sh --help