etsts
Dockerfile
FROM apache/flink:1.19-scala_2.12-java8
RUN mkdir -p $FLINK_HOME/usrlib
COPY MysqlFlinkCdcToKafka-jar-with-dependencies.jar $FLINK_HOME/usrlib/MysqlFlinkCdcToKafka-jar-with-dependencies.jar
构建镜像的命令
docker buildx build --load --platform linux/arm64 -t flinkcdctokafka:0.1-snapshot .
拉取镜像
docker pull --platform linux/arm64 apache/flink:1.19-scala_2.12-java8