Build Image For Flink Manged Table Demo
- Build the flink jar
- Copy jars in $FLINK/lib into ./flink-managed-table-demo/images/flink/lib/
- Copy jars in $FLINK/opt into ./flink-managed-table-demo/images/flink/opt/
- Copy connector/format and table-storage jars into ./flink-managed-table-demo/images/flink/connector_jar/
- Build Flink image:
docker build -t flink:$FLINK_VERSION
- Modify
images/sql-client/Dockerfile
, substitute $FLINK_VERSION with the version built above - Build sql-client image:
docker build -t sql-client:$CLIENT_VERSION
- Build the jar from source ./flink-managed-table-demo/datagen
- Copy jar to ./flink-managed-table-demo/images/datagen/datagen.jar, and build image:
docker build -t datagen:$DATAGEN_VERSION