Skip to content

Commit

Permalink
fix: seatunnel base image
Browse files Browse the repository at this point in the history
  • Loading branch information
kalencaya committed Nov 14, 2023
1 parent e7089f5 commit 21452cc
Showing 1 changed file with 7 additions and 4 deletions.
11 changes: 7 additions & 4 deletions tools/docker/build/scaleph-seatunnel/Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -24,17 +24,20 @@ ARG TAR_FILE=apache-seatunnel-${SEATUNNEL_VERSION}-bin.tar.gz
ENV SEATUNNEL_HOME=/opt/seatunnel
RUN mkdir -p $SEATUNNEL_HOME

RUN wget https://dlcdn.apache.org/seatunnel/${SEATUNNEL_VERSION}/$TAR_FILE ; \
RUN wget https://archive.apache.org/dist/seatunnel/${SEATUNNEL_VERSION}/$TAR_FILE ; \
tar -zxf $TAR_FILE --strip 1 -C $SEATUNNEL_HOME

# strange behavior: replace mvnw by mvn on install-plugin.sh, remove useless comment on plugin_config
RUN rm $SEATUNNEL_HOME/config/plugin_config
COPY tools/docker/build/scaleph-seatunnel/plugin_config $SEATUNNEL_HOME/config

#RUN rm $SEATUNNEL_HOME/bin/install-plugin.sh
#COPY tools/docker/build/scaleph-seatunnel/install-plugin.sh $SEATUNNEL_HOME/bin
RUN rm $SEATUNNEL_HOME/bin/install-plugin.sh
COPY tools/docker/build/scaleph-seatunnel/install-plugin.sh $SEATUNNEL_HOME/bin

RUN cd ${SEATUNNEL_HOME}|| sh bin/install-plugin.sh ${SEATUNNEL_VERSION}
RUN cd $SEATUNNEL_HOME ; \
sh -x bin/install-plugin.sh ${SEATUNNEL_VERSION}

#RUN cd ${SEATUNNEL_HOME}||sh bin/install-plugin.sh ${SEATUNNEL_VERSION}

# BASE_RELEASE_IMAGE argument must be defined twice
ARG FLINK_VERSION=1.15
Expand Down

0 comments on commit 21452cc

Please sign in to comment.