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

wForget pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/auron.git


The following commit(s) were added to refs/heads/master by this push:
     new 01138f7b [AURON #2372] Fix Docker build on ARM hosts (#2371)
01138f7b is described below

commit 01138f7b5116dc57bc50ca8a5d9ea2644483f341
Author: He Zhao <[email protected]>
AuthorDate: Tue Jul 21 11:23:53 2026 +0800

    [AURON #2372] Fix Docker build on ARM hosts (#2371)
    
    # Which issue does this PR close?
    
    Closes https://github.com/apache/auron/issues/2372
    
    # Rationale for this change
    Docker build mode needs a way to specify the Docker platform from
    `auron-build.sh`, especially on ARM hosts where release builds may need
    to run as `linux/amd64`.
    
    # What changes are included in this PR?
    as title
    # Are there any user-facing changes?
    no
    # How was this patch tested?
    rebuild auron with docker mode
---
 dev/docker-build/docker-compose.yml | 1 +
 1 file changed, 1 insertion(+)

diff --git a/dev/docker-build/docker-compose.yml 
b/dev/docker-build/docker-compose.yml
index 7bfb0f81..e8e938f3 100644
--- a/dev/docker-build/docker-compose.yml
+++ b/dev/docker-build/docker-compose.yml
@@ -17,6 +17,7 @@
 
 services:
   build-release:
+    platform: ${AURON_DOCKER_PLATFORM:-linux/amd64}
     build: ${BUILD_CONTEXT:-./centos7}
     volumes:
       - ~/.m2:/root/.m2:rw

Reply via email to