Skip to content

Commit

Permalink
[Bug][docker] fix scaleph-seatunnel image error (#642)
Browse files Browse the repository at this point in the history
* fix: seatunnel base image

* fix: seatunnel base image
  • Loading branch information
kalencaya authored Nov 15, 2023
1 parent 34d21dd commit 89fcb99
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 4 deletions.
4 changes: 2 additions & 2 deletions tools/docker/build/scaleph-seatunnel/Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -32,8 +32,8 @@ RUN wget https://archive.apache.org/dist/seatunnel/${SEATUNNEL_VERSION}/$TAR_FIL
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 -x bin/install-plugin.sh ${SEATUNNEL_VERSION}
Expand Down
4 changes: 2 additions & 2 deletions tools/docker/build/scaleph-seatunnel/install-plugin.sh
Original file line number Diff line number Diff line change
Expand Up @@ -32,7 +32,7 @@ fi

echo "Install hadoop shade jar, usage version is ${version}"

mvn dependency:get -DgroupId=org.apache.seatunnel -Dclassifier=optional -DartifactId=seatunnel-hadoop3-3.1.4-uber -Dversion=${version} -Ddest=${SEATUNNEL_HOME}/lib
${SEATUNNEL_HOME}/mvnw dependency:get -DgroupId=org.apache.seatunnel -Dclassifier=optional -DartifactId=seatunnel-hadoop3-3.1.4-uber -Dversion=${version} -Ddest=${SEATUNNEL_HOME}/lib

echo "Install SeaTunnel connectors plugins, usage version is ${version}"

Expand All @@ -54,7 +54,7 @@ while read line; do
# if [ ${line:0:1} != "-" ] && [ ${line:0:1} != "#" ]
# then
echo "install connector : " $line
mvn dependency:get -DgroupId=org.apache.seatunnel -DartifactId=${line} -Dversion=${version} -Ddest=${SEATUNNEL_HOME}/connectors/seatunnel
${SEATUNNEL_HOME}/mvnw dependency:get -DgroupId=org.apache.seatunnel -DartifactId=${line} -Dversion=${version} -Ddest=${SEATUNNEL_HOME}/connectors/seatunnel
# fi

done < ${SEATUNNEL_HOME}/config/plugin_config

0 comments on commit 89fcb99

Please sign in to comment.