docker: Document the PostgreSQL Dockerfile build steps.

This commit is contained in:
Alex Vandiver 2022-04-15 18:18:24 -07:00 committed by Alex Vandiver
parent 9687df21b3
commit 33c5bc5b4d
1 changed files with 8 additions and 2 deletions

View File

@ -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