collabora-online/docker
Michael Meeks 144b701453 cool#8703 - Drop random node creation and rely on inherited fd.
Re-using an inherited file descriptor to /dev/urandom frees us
from problems with mount options including 'nodev' and removes a
capability from the set we need.

Change-Id: I70337e923f802d7efbd3159c11a4e39f6529b6e6
Signed-off-by: Michael Meeks <michael.meeks@collabora.com>
2024-04-07 12:11:48 +02:00
..
from-packages docker: added a few labels 2023-11-16 11:13:57 +01:00
from-source cool#8703 - Drop random node creation and rely on inherited fd. 2024-04-07 12:11:48 +02:00
README docker: cleanups 2023-06-09 11:22:57 +02:00
cosign.pub Public key for verifying digital signature of official images from Collabora (cosign) 2024-01-26 15:47:39 +01:00

README

Collabora Online docker

This directory contains everything needed to compile a
working docker container with Collabora Online.

Docker image can be built from packages or from source code.

All docker images built from this directory can be run with a TZ environment variable
to set the server timezone to something other than UTC.

The Dockerfile uses the --mount parameter of RUN command. Actually it is used for
building  Collabora Online images for Collabora Partners/Customers, who have the secret
URL of supported packages. The --mount parameter requires BuildKit.

   export DOCKER_BUILDKIT=1

Examples:

1. Build latest CODE

   cd from-packages
   docker build --no-cache -t mydomain/code .

2. Build latest CODE 100% open source

The brand package of CODE is not open source. To build an image without it:

   cd from-packages
   docker build --no-cache --build-arg nobrand=yes -t mydomain/code .

3. Build Collabora Online

   cd from-packages
   # Get your secret URL key from https://support.collaboraoffice.com/ (Collabora Partners/Customers)
   # e.g. the secret key is Example-413539ece39485afc35b4a469adfde0a279d2fd2
   echo Example-413539ece39485afc35b4a469adfde0a279d2fd2 > secret_key
   docker build --no-cache --secret id=secret_key,src=secret_key --build-arg type=cool -t mydomain/cool .

4. Build Collabora Online license key enabled version

   cd from-packages
   docker build --no-cache --build-arg type=key -t mydomain/cool .

5. Build Collabora Online from master branch (from source code)

   cd from-source
   ./build.sh

Check build.sh for more build options!