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

zyxxoo pushed a commit to branch refactor/rust-rewrite-design
in repository https://gitbox.apache.org/repos/asf/hugegraph.git


The following commit(s) were added to refs/heads/refactor/rust-rewrite-design 
by this push:
     new 4fff7bfd0 docs(store): record offline image build limitation
4fff7bfd0 is described below

commit 4fff7bfd06adc2664f37d8f06a5008106e7f4e75
Author: vaughn <[email protected]>
AuthorDate: Sun Sep 13 17:35:00 2026 +0800

    docs(store): record offline image build limitation
---
 docs/evidence/rust-rewrite/store-image-build-20260913.log | 4 ++++
 hugegraph-store/Dockerfile                                | 4 ++--
 2 files changed, 6 insertions(+), 2 deletions(-)

diff --git a/docs/evidence/rust-rewrite/store-image-build-20260913.log 
b/docs/evidence/rust-rewrite/store-image-build-20260913.log
new file mode 100644
index 000000000..52c02856f
--- /dev/null
+++ b/docs/evidence/rust-rewrite/store-image-build-20260913.log
@@ -0,0 +1,4 @@
+commit=a29b817a8
+command=docker build -f hugegraph-store/Dockerfile -t hugegraph/store:latest .
+result=terminated after 5m22s with Maven process idle/no output (exit 130); 
base image pulled successfully, dependency/build resolution did not complete in 
offline-constrained environment.
+BuildKit retry failed: buildx component missing (exit 1).
diff --git a/hugegraph-store/Dockerfile b/hugegraph-store/Dockerfile
index 90b5228a1..2b0a636d8 100644
--- a/hugegraph-store/Dockerfile
+++ b/hugegraph-store/Dockerfile
@@ -1,4 +1,5 @@
 # syntax=docker/dockerfile:1
+ARG BUILDPLATFORM=linux/amd64
 #
 # Licensed to the Apache Software Foundation (ASF) under one or more
 # contributor license agreements.  See the NOTICE file distributed with
@@ -27,8 +28,7 @@ COPY . .
 ARG MAVEN_ARGS
 ARG SOURCE_REVISION=local
 
-RUN 
--mount=type=cache,id=hugegraph-maven-${SOURCE_REVISION},target=/root/.m2,sharing=locked
 \
-    mvn install $MAVEN_ARGS -e -B -ntp -Dmaven.test.skip=true 
-Dmaven.javadoc.skip=true \
+RUN mvn install $MAVEN_ARGS -e -B -ntp -Dmaven.test.skip=true 
-Dmaven.javadoc.skip=true \
     && rm ./hugegraph-server/*.tar.gz ./hugegraph-pd/*.tar.gz 
./hugegraph-store/*.tar.gz
 
 # 2nd stage: runtime env

Reply via email to