- FROM flink:1.19.1
- RUN apt install tzdata
- ENV TZ=Asia/Shanghai
- RUN ln -snf /usr/share/zoneinfo/$TZ /etc/localtime && echo $TZ > /etc/timezone
- RUN mkdir -p $FLINK_HOME/usrlib
- RUN mkdir -p /conf
- RUN mkdir -p /opt/flink/plugins/s3-fs-presto
- RUN cp /opt/flink/opt/flink-s3-fs-presto-1.19.1.jar /opt/flink/plugins/s3-fs-presto/
- #ENV HADOOP_CLASSPATH="`hadoop classpath`"
- COPY ./opentelemetry-javaagent.jar /opentelemetry-javaagent.jar
- COPY ./conf/oas.yaml /conf/
- COPY ./target/ob-agent-stream-1.0-SNAPSHOT.jar $FLINK_HOME/usrlib/ob-agent-stream.jar
|