Skip to content

Commit d3462ec

Browse files
Set Up with Kubernetes, dockerfile document error in constructing docker image (apache#5022)
Co-authored-by: yctan <[email protected]>
1 parent 852fe10 commit d3462ec

File tree

1 file changed

+6
-8
lines changed

1 file changed

+6
-8
lines changed

docs/en/start-v2/kubernetes/kubernetes.mdx

+6-8
Original file line numberDiff line numberDiff line change
@@ -42,16 +42,14 @@ To run the image with SeaTunnel, first create a `Dockerfile`:
4242
```Dockerfile
4343
FROM flink:1.13
4444

45-
ENV SEATUNNEL_VERSION="2.3.0"
46-
ENV SEATUNNEL_HOME = "/opt/seatunnel"
45+
ENV SEATUNNEL_VERSION="2.3.2"
46+
ENV SEATUNNEL_HOME="/opt/seatunnel"
4747

48-
RUN mkdir -p $SEATUNNEL_HOME
48+
RUN wget https://dlcdn.apache.org/seatunnel/${SEATUNNEL_VERSION}/apache-seatunnel-${SEATUNNEL_VERSION}-bin.tar.gz
49+
RUN tar -xzvf apache-seatunnel-${SEATUNNEL_VERSION}-bin.tar.gz
50+
RUN mv apache-seatunnel-${SEATUNNEL_VERSION} ${SEATUNNEL_HOME}
4951

50-
RUN wget https://archive.apache.org/dist/seatunnel/${SEATUNNEL_VERSION}/apache-seatunnel-incubating-${SEATUNNEL_VERSION}-bin.tar.gz
51-
RUN tar -xzvf apache-seatunnel-incubating-${SEATUNNEL_VERSION}-bin.tar.gz
52-
53-
RUN cp -r apache-seatunnel-incubating-${SEATUNNEL_VERSION}/* $SEATUNNEL_HOME/
54-
RUN rm -rf apache-seatunnel-incubating-${SEATUNNEL_VERSION}*
52+
RUN cd ${SEATUNNEL_HOME}||sh bin/install-plugin.sh ${SEATUNNEL_VERSION}
5553
```
5654

5755
Then run the following commands to build the image:

0 commit comments

Comments
 (0)