Skip to content

Commit f05067b

Browse files
authored
feat: unpack sync tools in demo docker image (#3390)
1 parent c4a8371 commit f05067b

File tree

1 file changed

+3
-0
lines changed

1 file changed

+3
-0
lines changed

demo/setup_openmldb.sh

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -43,6 +43,9 @@ mkdir -p "${WORKDIR}/openmldb"
4343
tar xzf openmldb.tar.gz -C "${WORKDIR}/openmldb" --strip-components 1
4444
# remove symbols and sections
4545
strip -s "${WORKDIR}/openmldb/bin/openmldb"
46+
# do not install sync tools in demo docker
47+
rm "${WORKDIR}/openmldb/bin/data_collector"
48+
rm -rf "${WORKDIR}/openmldb/synctool"
4649

4750
mkdir -p "${WORKDIR}/openmldb/spark-3.2.1-bin-openmldbspark"
4851
tar xzf spark-3.2.1-bin-openmldbspark.tgz -C "${WORKDIR}/openmldb/spark-3.2.1-bin-openmldbspark" --strip-components 1

0 commit comments

Comments
 (0)