You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@geode.apache.org by ji...@apache.org on 2026/09/13 00:09:01 UTC

(geode) branch develop updated: GEODE-10513: Fix ARM64 documentation preview with platform-specific Docker build (#7964)

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

JinwooHwang pushed a commit to branch develop
in repository https://gitbox.apache.org/repos/asf/geode.git


The following commit(s) were added to refs/heads/develop by this push:
     new 3da7aaa672 GEODE-10513: Fix ARM64 documentation preview with platform-specific Docker build (#7964)
3da7aaa672 is described below

commit 3da7aaa672577c4f3c4bc75e8345dc904f36b8dc
Author: Jinwoo Hwang <92...@users.noreply.github.com>
AuthorDate: Sat Sep 12 20:08:54 2026 -0400

    GEODE-10513: Fix ARM64 documentation preview with platform-specific Docker build (#7964)
---
 dev-tools/docker/docs/Dockerfile            | 2 +-
 dev-tools/docker/docs/preview-user-guide.sh | 4 ++--
 2 files changed, 3 insertions(+), 3 deletions(-)

diff --git a/dev-tools/docker/docs/Dockerfile b/dev-tools/docker/docs/Dockerfile
index 7833db9629..89c125efdd 100644
--- a/dev-tools/docker/docs/Dockerfile
+++ b/dev-tools/docker/docs/Dockerfile
@@ -14,7 +14,7 @@
 # See the License for the specific language governing permissions and
 # limitations under the License.
 
-FROM ruby:2.6.8
+FROM --platform=linux/amd64 ruby:2.6.8
 
 LABEL Vendor="Apache Geode"
 LABEL version=unstable
diff --git a/dev-tools/docker/docs/preview-user-guide.sh b/dev-tools/docker/docs/preview-user-guide.sh
index 49da6a6326..8eebbdf3bb 100755
--- a/dev-tools/docker/docs/preview-user-guide.sh
+++ b/dev-tools/docker/docs/preview-user-guide.sh
@@ -26,7 +26,7 @@ trap cleanup EXIT
 # geode-book folder to the image context
 cp ../../../geode-book/Gemfile* .
 
-docker build -t geodedocs/temp:1.0 .
+docker build --platform linux/amd64 -t geodedocs/temp:1.0 .
 
 # "geode-book/final_app" and "geode-book/output" are created inside the container,
 # so it is necessary to use the current user to avoid these folders owned by
@@ -35,7 +35,7 @@ GEODE_BOOK="$(pwd)/../../../geode-book"
 GEODE_DOCS="$(pwd)/../../../geode-docs"
 MY_UID=$(id -u)
 MY_GID=$(id -g)
-docker run -it -p 9292:9292 --user $MY_UID:$MY_GID \
+docker run -it --platform linux/amd64 -p 9292:9292 --user $MY_UID:$MY_GID \
     --workdir="/home/$USER" \
     --volume="/etc/group:/etc/group:ro" \
     --volume="/etc/passwd:/etc/passwd:ro" \