From 1a4c3bfcef447c9cacdf08b69bff7dd3d24c5f1a Mon Sep 17 00:00:00 2001 From: Yong Zhang Date: Mon, 28 Aug 2023 21:39:21 +0800 Subject: [PATCH] [release] Force to use linux/amd64 to build release (#4060) --- ### Motivation Because we have a Native IO that needs to be built from cpp code. The build platform will impact the target library. People are using different laptop to execute the release process with docker, we need to force the image to use linux/amd64 platform to ensure the .so lib build out the correct platform lib. Since most of time we are using amd64 to run the bookie, making the dev docker image build from amd64. --- dev/release/000-run-docker.sh | 2 +- dev/release/Dockerfile | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/dev/release/000-run-docker.sh b/dev/release/000-run-docker.sh index 4ce19c07d11..7854dc49dd3 100755 --- a/dev/release/000-run-docker.sh +++ b/dev/release/000-run-docker.sh @@ -48,7 +48,7 @@ else # boot2docker uid and gid fi docker build -t "${IMAGE_NAME}-${USER_NAME}" - <