[KYUUBI #4413] [BUILD] Build docker image should include web UI
### _Why are the changes needed?_ `bin/docker-image-tool.sh` should include `web-ui` when build image ### _How was this patch tested?_ - [ ] Add some test cases that check the changes thoroughly including negative and positive cases if possible - [x] Add screenshots for manual tests if appropriate ``` build/dist --web-ui cd dist bin/docker-image-tool.sh -t test build cat > conf/kyuubi-defaults.conf << EOF kyuubi.frontend.protocols REST EOF docker run --rm -v $PWD/conf:/opt/kyuubi/conf -p10099:10099 kyuubi:test ```  - [ ] [Run test](https://kyuubi.readthedocs.io/en/master/develop_tools/testing.html#running-tests) locally before make a pull request Closes #4413 from pan3793/web-ui-package. Closes #4413 787f89515 [Cheng Pan] [BUILD] Build docker image should include web UI Authored-by: Cheng Pan <chengpan@apache.org> Signed-off-by: Cheng Pan <chengpan@apache.org>
This commit is contained in:
parent
787f86c88a
commit
ceaa2bf3cb
@ -247,14 +247,15 @@ echo -e "\$ ${BUILD_COMMAND[@]}\n"
|
||||
rm -rf "$DISTDIR"
|
||||
mkdir -p "$DISTDIR/pid"
|
||||
mkdir -p "$DISTDIR/logs"
|
||||
mkdir -p "$DISTDIR/jars"
|
||||
mkdir -p "$DISTDIR/work"
|
||||
mkdir -p "$DISTDIR/jars"
|
||||
mkdir -p "$DISTDIR/beeline-jars"
|
||||
mkdir -p "$DISTDIR/web-ui"
|
||||
mkdir -p "$DISTDIR/externals/engines/flink"
|
||||
mkdir -p "$DISTDIR/externals/engines/spark"
|
||||
mkdir -p "$DISTDIR/externals/engines/trino"
|
||||
mkdir -p "$DISTDIR/externals/engines/hive"
|
||||
mkdir -p "$DISTDIR/externals/engines/jdbc"
|
||||
mkdir -p "$DISTDIR/beeline-jars"
|
||||
echo "Kyuubi $VERSION $GITREVSTRING built for" > "$DISTDIR/RELEASE"
|
||||
echo "Java $JAVA_VERSION" >> "$DISTDIR/RELEASE"
|
||||
echo "Scala $SCALA_VERSION" >> "$DISTDIR/RELEASE"
|
||||
@ -332,7 +333,6 @@ done
|
||||
|
||||
if [[ "$ENABLE_WEBUI" == "true" ]]; then
|
||||
# Copy web ui dist
|
||||
mkdir -p "$DISTDIR/web-ui"
|
||||
cp -r "$KYUUBI_HOME/kyuubi-server/web-ui/dist" "$DISTDIR/web-ui/"
|
||||
fi
|
||||
|
||||
|
||||
@ -60,6 +60,7 @@ COPY LICENSE NOTICE RELEASE ${KYUUBI_HOME}/
|
||||
COPY bin ${KYUUBI_HOME}/bin
|
||||
COPY jars ${KYUUBI_HOME}/jars
|
||||
COPY beeline-jars ${KYUUBI_HOME}/beeline-jars
|
||||
COPY web-ui ${KYUUBI_HOME}/web-ui
|
||||
COPY externals/engines/spark ${KYUUBI_HOME}/externals/engines/spark
|
||||
|
||||
WORKDIR ${KYUUBI_HOME}
|
||||
|
||||
Loading…
Reference in New Issue
Block a user