Skip to content

armgit / zulip

Public Imported from GitHub
0

Zulip server and web application. Open-source team chat that helps teams stay productive and focused.

docker: Document the PostgreSQL Dockerfile build steps.

Alex Vandiver33c5bc5b4dc3
diff --git a/Dockerfile-postgresql b/Dockerfile-postgresql
index f8d0dc27595..15cfdc04524 100644
--- a/Dockerfile-postgresql
+++ b/Dockerfile-postgresql
@@ -1,5 +1,11 @@
-# To build run `docker build -f Dockerfile-postgresql .` from the root of the
-# zulip repo.
+# This is a multiarch Dockerfile. See https://docs.docker.com/desktop/multi-arch/
+#
+# To set up the first time:
+# docker buildx create --name multiarch --use
+#
+# To build:
+# docker buildx build --platform linux/amd64,linux/arm64 \
+# -f ./Dockerfile-postgresql -t zulip/zulip-postgresql:14 --push .
# Currently the PostgreSQL images do not support automatic upgrading of
# the on-disk data in volumes. So the base image can not currently be upgraded