You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@flink.apache.org by tz...@apache.org on 2020/09/25 06:06:07 UTC
[flink-statefun-docker] 01/02: [FLINK-19019] [docker] Add common
filesystem plugins to flink-statefun image
This is an automated email from the ASF dual-hosted git repository.
tzulitai pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/flink-statefun-docker.git
commit e7c8f6525914abe4939c594badcd8045db2d82e7
Author: Tzu-Li (Gordon) Tai <tz...@apache.org>
AuthorDate: Wed Sep 2 17:36:04 2020 +0800
[FLINK-19019] [docker] Add common filesystem plugins to flink-statefun image
This closes #7.
---
template/Dockerfile | 10 ++++++++++
1 file changed, 10 insertions(+)
diff --git a/template/Dockerfile b/template/Dockerfile
index 2e41900..12ce302 100644
--- a/template/Dockerfile
+++ b/template/Dockerfile
@@ -66,6 +66,16 @@ RUN mkdir -p $STATEFUN_MODULES && \
chown -R statefun:flink $STATEFUN_HOME && \
chmod -R g+rw $STATEFUN_HOME
+# add filesystem plugins
+RUN mkdir -p $FLINK_HOME/plugins/s3-fs-presto && \
+ mv $FLINK_HOME/opt/flink-s3-fs-presto-%%FLINK_VERSION%%.jar $FLINK_HOME/plugins/s3-fs-presto
+RUN mkdir -p $FLINK_HOME/plugins/swift-fs-hadoop && \
+ mv $FLINK_HOME/opt/flink-swift-fs-hadoop-%%FLINK_VERSION%%.jar $FLINK_HOME/plugins/swift-fs-hadoop
+RUN mkdir -p $FLINK_HOME/plugins/oss-fs-hadoop && \
+ mv $FLINK_HOME/opt/flink-oss-fs-hadoop-%%FLINK_VERSION%%.jar $FLINK_HOME/plugins/oss-fs-hadoop
+RUN mkdir -p $FLINK_HOME/plugins/azure-fs-hadoop && \
+ mv $FLINK_HOME/opt/flink-azure-fs-hadoop-%%FLINK_VERSION%%.jar $FLINK_HOME/plugins/azure-fs-hadoop
+
# entry point
ADD docker-entry-point.sh /docker-entry-point.sh