diff --git a/docs/en/start-v2/kubernetes/kubernetes.mdx b/docs/en/start-v2/kubernetes/kubernetes.mdx index 1c4e013752e..32555d2410d 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: