This is an automated email from the ASF dual-hosted git repository.

jin pushed a commit to branch docker-1.0.0
in repository 
https://gitbox.apache.org/repos/asf/incubator-hugegraph-toolchain.git


The following commit(s) were added to refs/heads/docker-1.0.0 by this push:
     new cd05eea2 chore(fix): add foreground process for hubble-1.0.0 image 
(#565)
cd05eea2 is described below

commit cd05eea2e33fcf415bf435eef76b0f7c399250f3
Author: Dandelion <[email protected]>
AuthorDate: Sun Dec 24 17:59:33 2023 +0800

    chore(fix): add foreground process for hubble-1.0.0 image (#565)
    
    * recover commit_id and change git clone depth
    
    ---------
    
    Co-authored-by: imbajin <[email protected]>
---
 hugegraph-client/assembly/travis/install-hugegraph-from-source.sh  | 2 +-
 hugegraph-hubble/Dockerfile                                        | 2 +-
 hugegraph-hubble/hubble-dist/assembly/travis/download-hugegraph.sh | 2 +-
 hugegraph-loader/assembly/travis/install-hugegraph-from-source.sh  | 2 +-
 hugegraph-tools/assembly/travis/install-hugegraph-from-source.sh   | 2 +-
 5 files changed, 5 insertions(+), 5 deletions(-)

diff --git a/hugegraph-client/assembly/travis/install-hugegraph-from-source.sh 
b/hugegraph-client/assembly/travis/install-hugegraph-from-source.sh
index fe902407..2aee89cb 100755
--- a/hugegraph-client/assembly/travis/install-hugegraph-from-source.sh
+++ b/hugegraph-client/assembly/travis/install-hugegraph-from-source.sh
@@ -26,7 +26,7 @@ HUGEGRAPH_GIT_URL="https://github.com/apache/hugegraph.git";
 GIT_DIR=hugegraph
 
 # download code and compile
-git clone --depth 100 ${HUGEGRAPH_GIT_URL} $GIT_DIR
+git clone --depth 500 ${HUGEGRAPH_GIT_URL} $GIT_DIR
 cd "${GIT_DIR}"
 git checkout "${COMMIT_ID}"
 mvn package -DskipTests -Dmaven.javadoc.skip=true -ntp
diff --git a/hugegraph-hubble/Dockerfile b/hugegraph-hubble/Dockerfile
index 9ad44e49..a06a98f4 100644
--- a/hugegraph-hubble/Dockerfile
+++ b/hugegraph-hubble/Dockerfile
@@ -44,4 +44,4 @@ RUN set -x \
     
 
 EXPOSE 8088
-ENTRYPOINT ["./bin/start-hubble.sh", "-f true"]
+ENTRYPOINT ["sh", "-c", "./bin/start-hubble.sh && tail -f /dev/null"]
diff --git a/hugegraph-hubble/hubble-dist/assembly/travis/download-hugegraph.sh 
b/hugegraph-hubble/hubble-dist/assembly/travis/download-hugegraph.sh
index 7813cc3b..58fd3c43 100755
--- a/hugegraph-hubble/hubble-dist/assembly/travis/download-hugegraph.sh
+++ b/hugegraph-hubble/hubble-dist/assembly/travis/download-hugegraph.sh
@@ -26,7 +26,7 @@ HUGEGRAPH_GIT_URL="https://github.com/apache/hugegraph.git";
 GIT_DIR=hugegraph
 
 # download code and compile
-git clone --depth 100 $HUGEGRAPH_GIT_URL $GIT_DIR
+git clone --depth 500 $HUGEGRAPH_GIT_URL $GIT_DIR
 cd "${GIT_DIR}"
 git checkout "${COMMIT_ID}"
 mvn package -DskipTests -Dmaven.javadoc.skip=true -ntp
diff --git a/hugegraph-loader/assembly/travis/install-hugegraph-from-source.sh 
b/hugegraph-loader/assembly/travis/install-hugegraph-from-source.sh
index 60adcfac..7730d616 100755
--- a/hugegraph-loader/assembly/travis/install-hugegraph-from-source.sh
+++ b/hugegraph-loader/assembly/travis/install-hugegraph-from-source.sh
@@ -24,7 +24,7 @@ fi
 COMMIT_ID=$1
 HUGEGRAPH_GIT_URL="https://github.com/apache/hugegraph.git";
 
-git clone --depth 100 ${HUGEGRAPH_GIT_URL} hugegraph
+git clone --depth 500 ${HUGEGRAPH_GIT_URL} hugegraph
 cd hugegraph
 git checkout "${COMMIT_ID}"
 mvn package -DskipTests -Dmaven.javadoc.skip=true -ntp
diff --git a/hugegraph-tools/assembly/travis/install-hugegraph-from-source.sh 
b/hugegraph-tools/assembly/travis/install-hugegraph-from-source.sh
index 5b3b2637..f940b674 100755
--- a/hugegraph-tools/assembly/travis/install-hugegraph-from-source.sh
+++ b/hugegraph-tools/assembly/travis/install-hugegraph-from-source.sh
@@ -25,7 +25,7 @@ HUGEGRAPH_GIT_URL="https://github.com/apache/hugegraph.git";
 GIT_DIR=hugegraph
 
 # download code and compile
-git clone --depth 100 $HUGEGRAPH_GIT_URL $GIT_DIR
+git clone --depth 500 $HUGEGRAPH_GIT_URL $GIT_DIR
 cd "${GIT_DIR}"
 git checkout "${COMMIT_ID}"
 mvn package -DskipTests -Dmaven.javadoc.skip=true -ntp

Reply via email to