diff --git a/hugegraph-client/assembly/travis/install-hugegraph-from-source.sh b/hugegraph-client/assembly/travis/install-hugegraph-from-source.sh index fe9024077..2aee89cb1 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 4518d82f9..a06a98f49 100644 --- a/hugegraph-hubble/Dockerfile +++ b/hugegraph-hubble/Dockerfile @@ -36,5 +36,12 @@ FROM openjdk:11-slim COPY --from=build /pkg/hugegraph-hubble/apache-hugegraph-hubble-incubating-*/ /hubble WORKDIR /hubble/ +RUN set -x \ + && apt-get -q update \ + && apt-get install -y curl \ + && apt-get clean \ + && rm -rf /var/lib/apt/lists/* + + 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 7813cc3ba..58fd3c430 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 60adcfacd..7730d616b 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 5b3b2637c..f940b674e 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