libreoffice-online/docker
Andras Timar 1822bc13f1 docker: 23.05 image based on DebianSlim
This new DebianSlim dockerfile eliminates the use of installer script
which was an anti-pattern.
The inotifywait hook for watching changing coolwsd.xml was removed. Was it
useful? I don't know. Please complain, if you miss it.
DebianSlim is still not "distroless". Probably first we should solve the
name resoltion problem in jails, in order to eliminate the need of copying
/etc/hosts and /etc/resolv.conf to systemplate at startup.

Signed-off-by: Andras Timar <andras.timar@collabora.com>
Change-Id: I26948eb21a1bc3092b93d02d93e03269e9a70198
2023-06-09 11:22:57 +02:00
..
from-packages docker: 23.05 image based on DebianSlim 2023-06-09 11:22:57 +02:00
from-source docker: added docker file for arch linux to build from source 2022-11-03 13:47:57 +01:00
README docker: updated readme 2023-03-19 12:55:23 +01: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.

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 based on Ubuntu 18.04 LTS

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

2. Build latest CODE based on Ubuntu 18.04 LTS 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 -f Ubuntu .

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

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

5. 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 .

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

   cd from-source
   ./build.sh

Check build.sh for more build options!