You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@airavata.apache.org by ma...@apache.org on 2021/06/25 13:25:49 UTC

[airavata-django-portal] branch master updated: Adds instructions on building multi-arch Docker images

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

machristie pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/airavata-django-portal.git


The following commit(s) were added to refs/heads/master by this push:
     new b2317c9  Adds instructions on building multi-arch Docker images
b2317c9 is described below

commit b2317c920b036bd58d954b036a8ded0b416c7ab6
Author: Marcus Christie <ma...@apache.org>
AuthorDate: Fri Jun 25 09:25:28 2021 -0400

    Adds instructions on building multi-arch Docker images
---
 README.md | 16 ++++++++++++++++
 1 file changed, 16 insertions(+)

diff --git a/README.md b/README.md
index 60c136f..4c4163d 100644
--- a/README.md
+++ b/README.md
@@ -110,6 +110,22 @@ following:
 
 4. Point your browser to http://localhost:8000.
 
+### Multi-architecture images
+
+To build and push
+[multi-architecture images](https://docs.docker.com/desktop/multi-arch/), first
+create a builder (one time)
+
+```
+docker buildx create --name mybuilder --use
+```
+
+then run
+
+```
+docker buildx build --platform linux/amd64,linux/arm64 -t TAG --push .
+```
+
 ## Documentation
 
 Documentation currently is available at