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/03 02:47:50 UTC
[flink-statefun] branch master updated: [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.git
The following commit(s) were added to refs/heads/master by this push:
new 3978b1f [FLINK-19019] [docker] Add common filesystem plugins to flink-statefun image
3978b1f is described below
commit 3978b1ff2361c2727a7ce3d0cd5d111a34d59a61
Author: Tzu-Li (Gordon) Tai <tz...@apache.org>
AuthorDate: Wed Sep 2 17:32:26 2020 +0800
[FLINK-19019] [docker] Add common filesystem plugins to flink-statefun image
This closes #140.
---
tools/docker/Dockerfile | 10 ++++++++++
1 file changed, 10 insertions(+)
diff --git a/tools/docker/Dockerfile b/tools/docker/Dockerfile
index 4a1e651..de344d2 100644
--- a/tools/docker/Dockerfile
+++ b/tools/docker/Dockerfile
@@ -34,6 +34,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-1.11.1.jar $FLINK_HOME/plugins/s3-fs-presto
+RUN mkdir -p $FLINK_HOME/plugins/swift-fs-hadoop && \
+ mv $FLINK_HOME/opt/flink-swift-fs-hadoop-1.11.1.jar $FLINK_HOME/plugins/swift-fs-hadoop
+RUN mkdir -p $FLINK_HOME/plugins/oss-fs-hadoop && \
+ mv $FLINK_HOME/opt/flink-oss-fs-hadoop-1.11.1.jar $FLINK_HOME/plugins/oss-fs-hadoop
+RUN mkdir -p $FLINK_HOME/plugins/azure-fs-hadoop && \
+ mv $FLINK_HOME/opt/flink-azure-fs-hadoop-1.11.1.jar $FLINK_HOME/plugins/azure-fs-hadoop
+
# entry point
ADD docker-entry-point.sh /docker-entry-point.sh