This is an automated email from the ASF dual-hosted git repository.

lidongdai pushed a commit to branch dev
in repository https://gitbox.apache.org/repos/asf/seatunnel.git


The following commit(s) were added to refs/heads/dev by this push:
     new d3462ec1e Set Up with Kubernetes, dockerfile document error in 
constructing docker image (#5022)
d3462ec1e is described below

commit d3462ec1eb9df38a7901ea4691cde3f1542c14dd
Author: yctanGmail <[email protected]>
AuthorDate: Mon Jul 10 00:01:45 2023 +0800

    Set Up with Kubernetes, dockerfile document error in constructing docker 
image (#5022)
    
    Co-authored-by: yctan <[email protected]>
---
 docs/en/start-v2/kubernetes/kubernetes.mdx | 14 ++++++--------
 1 file changed, 6 insertions(+), 8 deletions(-)

diff --git a/docs/en/start-v2/kubernetes/kubernetes.mdx 
b/docs/en/start-v2/kubernetes/kubernetes.mdx
index 1c4e01375..32555d241 100644
--- a/docs/en/start-v2/kubernetes/kubernetes.mdx
+++ b/docs/en/start-v2/kubernetes/kubernetes.mdx
@@ -42,16 +42,14 @@ To run the image with SeaTunnel, first create a 
`Dockerfile`:
 ```Dockerfile
 FROM flink:1.13
 
-ENV SEATUNNEL_VERSION="2.3.0"
-ENV SEATUNNEL_HOME = "/opt/seatunnel"
+ENV SEATUNNEL_VERSION="2.3.2"
+ENV SEATUNNEL_HOME="/opt/seatunnel"
 
-RUN mkdir -p $SEATUNNEL_HOME
+RUN wget 
https://dlcdn.apache.org/seatunnel/${SEATUNNEL_VERSION}/apache-seatunnel-${SEATUNNEL_VERSION}-bin.tar.gz
+RUN tar -xzvf apache-seatunnel-${SEATUNNEL_VERSION}-bin.tar.gz
+RUN mv apache-seatunnel-${SEATUNNEL_VERSION} ${SEATUNNEL_HOME}
 
-RUN wget 
https://archive.apache.org/dist/seatunnel/${SEATUNNEL_VERSION}/apache-seatunnel-incubating-${SEATUNNEL_VERSION}-bin.tar.gz
-RUN tar -xzvf apache-seatunnel-incubating-${SEATUNNEL_VERSION}-bin.tar.gz
-
-RUN cp -r apache-seatunnel-incubating-${SEATUNNEL_VERSION}/* $SEATUNNEL_HOME/
-RUN rm -rf apache-seatunnel-incubating-${SEATUNNEL_VERSION}*
+RUN cd ${SEATUNNEL_HOME}||sh bin/install-plugin.sh ${SEATUNNEL_VERSION}
 ```
 
 Then run the following commands to build the image:

Reply via email to