From a1f3262f37c9f2cc015b36436b7a9ad55c389913 Mon Sep 17 00:00:00 2001 From: Daniel Dowler <12484302+dandawg@users.noreply.github.com> Date: Wed, 12 Feb 2025 08:42:29 -0700 Subject: [PATCH] docs(backend): fixed docker cmd in docs for non-amd64 (#11610) Signed-off-by: Daniel Dowler <12484302+dandawg@users.noreply.github.com> --- developer_guide.md | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/developer_guide.md b/developer_guide.md index 39e72e6b10d..e192ae5e581 100644 --- a/developer_guide.md +++ b/developer_guide.md @@ -12,7 +12,7 @@ The Pipeline system is included in kubeflow. See [Getting Started Guide](https:/ To be able to use GKE, the Docker images need to be uploaded to a public Docker repository, such as [GCR](https://cloud.google.com/container-registry/) -To build the API server image and upload it to GCR on x86_64 machines: +To build the API server image and upload it to GCR on x86_64 (amd64) machines: ```bash # Run in the repository root directory @@ -26,7 +26,7 @@ To build the API server image and upload it to GCR on non-x86_64 machines (such ```bash # Run in the repository root directory -$ docker build -t gcr.io//api-server:latest -f backend/Dockerfile +$ docker build --platform linux/amd64 -t gcr.io//api-server:latest -f backend/Dockerfile . # Push to GCR $ gcloud auth configure-docker $ docker push gcr.io//api-server:latest