Skip to content

Commit a1f3262

Browse files
authored
docs(backend): fixed docker cmd in docs for non-amd64 (kubeflow#11610)
Signed-off-by: Daniel Dowler <[email protected]>
1 parent ba22703 commit a1f3262

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

developer_guide.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -12,7 +12,7 @@ The Pipeline system is included in kubeflow. See [Getting Started Guide](https:/
1212

1313
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/)
1414

15-
To build the API server image and upload it to GCR on x86_64 machines:
15+
To build the API server image and upload it to GCR on x86_64 (amd64) machines:
1616

1717
```bash
1818
# 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
2626

2727
```bash
2828
# Run in the repository root directory
29-
$ docker build -t gcr.io/<your-gcp-project>/api-server:latest -f backend/Dockerfile
29+
$ docker build --platform linux/amd64 -t gcr.io/<your-gcp-project>/api-server:latest -f backend/Dockerfile .
3030
# Push to GCR
3131
$ gcloud auth configure-docker
3232
$ docker push gcr.io/<your-gcp-project>/api-server:latest

0 commit comments

Comments
 (0)