Update readme

This commit is contained in:
Daniel Berteaud 2023-08-23 16:15:16 +02:00
parent 6651efc972
commit c0b3cbf1d8
1 changed files with 20 additions and 3 deletions

View File

@ -2,12 +2,29 @@
This is a Docker image able to build Zimbra for RHEL8.
To use it you first have to build the image
To use it you have to build the image (or use my own build danielberteaud/zmbuilder)
```
docker build -t zmbuild:latest .
docker build -t zmbuilder:latest .
```
Then you can run the build
```
docker run --rm -it zmbuild:latest -v ./output:/zimbra
mkdir zimbra
docker run \
--rm \
-v ./zimbra:/zimbra \
-e ZM_VERSION=9.0.0 \
-e ZM_PATCH=35 \
danielberteaud/zmbuilder
```
For Zimbra 10, you do not have to pass a patch, just a version is enough
```
mkdir zimbra
docker run \
--rm \
-v ./zimbra:/zimbra \
-e ZM_VERSION=10.0.3 \
danielberteaud/zmbuilder
```