.gitignore | ||
build.sh | ||
config.build | ||
README.md |
Zimbra FOSS builds
This repository contains the script to automate the process of building Zimbra FOSS packages and the also a package registry that provides these packages. Currently Ubuntu 18.04
, 20.04
and 22.04
are supported.
Installation and Update
To install Zimbra download the tgz archives stored in the registry and use the official installation instructions. To keep a Zimbra installation on Ubuntu Server up to date you can use this steps. Make sure that you have a current backup of your Zimbra installation including the databases and the configuration files.
- add the repository key to your system
sudo curl https://code.beancloud.de/api/packages/zimbra/debian/repository.key -o /etc/apt/keyrings/gitea-zimbra.asc
- add the repository to your system
Ubuntu 18.04:
echo "deb [signed-by=/etc/apt/keyrings/gitea-zimbra.asc] https://code.beancloud.de/api/packages/zimbra/debian bionic main" | sudo tee -a /etc/apt/sources.list.d/gitea.list
Ubuntu 20.04:
echo "deb [signed-by=/etc/apt/keyrings/gitea-zimbra.asc] https://code.beancloud.de/api/packages/zimbra/debian focal main" | sudo tee -a /etc/apt/sources.list.d/gitea.list
Ubuntu 22.04
echo "deb [signed-by=/etc/apt/keyrings/gitea-zimbra.asc] https://code.beancloud.de/api/packages/zimbra/debian jammy main" | sudo tee -a /etc/apt/sources.list.d/gitea.list
- Update your system
sudo apt update
sudo apt upgrade
build packages
The script builds the necessary toolchain container, the Zimbra packages and uploads them to the Beancloud package registry. You can tweak the script if you want to use it with a different infrastructure.
Prerequisites
Docker
orPodman
(with Docker compatibility enabled) installed on your machine- a
bash
shell
Build process
startZimbraBuild
= build the toolchain container images if required and then build the Zimbra packages
./build.sh startZimbraBuild
buildDevImage
= Only build and upload the toolchain container images
./build.sh buildDevImage