installer build - Zimbra/zm-build GitHub Wiki

Building Installer, Important Notes

From docker-zcs-dev-machine, as zimbra user...

zmcontrol stop
cd /home/zimbra
mkdir installer-build
chmod 755 installer-build
cd installer-build
umask 0022
git clone [email protected]:Zimbra/zm-build.git
cd zm-build

Check out the branch that you are building. For example:

git checkout -b feature/zimbra-863 origin/feature/zimbra-863

Drop in a config.build file; e.g.:

BUILD_RELEASE           = JUDASPRIEST
BUILD_RELEASE_NO        = 8.8.5
BUILD_RELEASE_CANDIDATE = BETA
BUILD_TYPE              = FOSS
BUILD_THIRDPARTY_SERVER = files.zimbra.com
INTERACTIVE = 0

Run the build:

./build.pl

Cleaning Up from Installer Build

Is best to delete the entire directory when not needed. In the example above:

rm -rf installer-build

If you choose instead to just delete the repo directories inside, remember also do delete the hidden .staging directory as it will otherwise continue to grow and take up more and more space!!!