Dockerfile 545 B

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