Dockerfile 284 B

12345678
  1. FROM flink:1.19.1
  2. ENV KAFKA_BROKERS kafka.observe.svc.cluster.local:9092
  3. ENV MYSQL_DSN jdbc:mysql://mysql.observe.svc.cluster.local:3306/observe
  4. RUN mkdir -p $FLINK_HOME/usrlib
  5. RUN mkdir -p /conf
  6. COPY ./target/ob-agent-stream-1.0-SNAPSHOT.jar $FLINK_HOME/usrlib/ob-agent-stream.jar