libreoffice-online/docker
Andras Timar 42c05fda66 docker: add 'DOCKER_BUILDKIT=1' to documentation, fixes #5296
Signed-off-by: Andras Timar <andras.timar@collabora.com>
Change-Id: I20384c93754b60800ba21a46b58106fa97deb75e
2022-09-25 13:50:08 +02:00
..
from-packages docker: fix install script for ppc64 2022-09-18 21:22:41 +02:00
from-source docker: add CODE branding (optionally) to image built from source 2022-07-19 21:54:51 +02:00
README docker: add 'DOCKER_BUILDKIT=1' to documentation, fixes #5296 2022-09-25 13:50:08 +02:00

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.

Examples:

1. Build latest CODE based on Ubuntu 18.04 LTS

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

2. Build Collabora Online 22.05 based on Ubuntu 18.04 LTS

  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
  export DOCKER_BUILDKIT=1
  docker build --no-cache --secret id=secret_key,src=secret_key --build-arg type=cool -t mydomain/cool -f Ubuntu .

3. Build Collabora Online 22.05 based on RHEL8

  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
  export DOCKER_BUILDKIT=1
  docker build --no-cache --secret id=secret_key,src=secret_key --build-arg type=cool -t mydomain/cool -f RHEL8 .

4. Build Collabora Online 22.05 license key enabled version based on Ubuntu 18.04 LTS

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

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

   cd from-source
   ./build.sh

Check build.sh for more build options!