libreoffice-online/docker
Michael Meeks 7b89840798 docker: only substitute variables when they are set.
Clobbering a copied-in config un-necessarily is impolite.

Change-Id: I9eec5711d12def987f2ae08f9e6bd77f1636780e
Signed-off-by: Michael Meeks <michael.meeks@collabora.com>
2021-08-10 20:40:22 +01:00
..
from-packages docker: only substitute variables when they are set. 2021-08-10 20:40:22 +01:00
from-source
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.

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 6.4

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

3. Build Collabora Online 4.2 based on RHEL8

  cd from-packages
  # Get your secret URL key from https://support.collaboraoffice.com/ (Collabora Partners/Customers)
  docker build --no-cache --build-arg version=4.2 --build-arg type=cool --build-arg secret_key=<....> -t mydomain/cool -f RHEL8 .

4. Build Collabora Online 6.4 license key enabled version

   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!