Have a docker image of the buildserver
We will not switch away from VMs for security reasons, but offering a docker image as an option has several advantages:
- A docker image can be downloaded and run quickly, allowing easy setup
- App developers can check if their build will work on our buildserver quickly
- CI can use it to test builds in fdroiddata
The buildserver would still only support VMs. The setup process would be:
- Download docker image
- Clone fdroidserver in the container
- Set up fdroidserver in the container (e.g. add it to
PATH
) - Run
fdroid build
in the docker container
The docker image should be accompanied by a warning specifying why it's not as secure as a VM, which is why we wouldn't use it ourselves.
Edited by Hans-Christoph Steiner