You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@hugegraph.apache.org by ji...@apache.org on 2024/12/09 06:16:48 UTC
(incubator-hugegraph-toolchain) 03/03: fix(hubble): configure ipv4 to fix timeout of yarn install (#636)
This is an automated email from the ASF dual-hosted git repository.
jin pushed a commit to branch docker-1.3.0
in repository https://gitbox.apache.org/repos/asf/incubator-hugegraph-toolchain.git
commit a8036535cc6238b1bd768ca88ff0d5ce4b945c2f
Author: Forster <11...@users.noreply.github.com>
AuthorDate: Tue Nov 5 16:14:44 2024 +0800
fix(hubble): configure ipv4 to fix timeout of yarn install (#636)
---
hugegraph-hubble/Dockerfile | 1 +
hugegraph-hubble/hubble-dist/pom.xml | 2 +-
2 files changed, 2 insertions(+), 1 deletion(-)
diff --git a/hugegraph-hubble/Dockerfile b/hugegraph-hubble/Dockerfile
index 1f43147c..39ffeea6 100644
--- a/hugegraph-hubble/Dockerfile
+++ b/hugegraph-hubble/Dockerfile
@@ -17,6 +17,7 @@
FROM maven:3.9.0-eclipse-temurin-11 AS build
+ENV NODE_OPTIONS=--dns-result-order=ipv4first
ARG MAVEN_ARGS
diff --git a/hugegraph-hubble/hubble-dist/pom.xml b/hugegraph-hubble/hubble-dist/pom.xml
index 66335e06..c842e3a6 100644
--- a/hugegraph-hubble/hubble-dist/pom.xml
+++ b/hugegraph-hubble/hubble-dist/pom.xml
@@ -100,7 +100,7 @@
<goal>yarn</goal>
</goals>
<configuration>
- <arguments>install --network-timeout 600000</arguments>
+ <arguments>install --network-timeout 600000 --verbose --network-concurrency 1</arguments>
</configuration>
</execution>