libreoffice-online/docker/README
Tobia Conforto aba9091209 Added support for setting the timezone in Docker
Added the 'tzdata' package to Ubuntu-based Docker builds and the
'timezone' package to openSUSE builds, to allow Docker users to run
the containers with a custom timezone by passing a TZ env variable.

Signed-off-by: Tobia Conforto <tobia.conforto@gmail.com>
Change-Id: Idafd84dde3383b4801ff4b3ebb8ac1826fe49fcc
2022-07-14 11:24:03 +02:00

40 lines
1.3 KiB
Text

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 21.11 based on Ubuntu 18.04 LTS
cd from-packages
# Get your secret URL key from https://support.collaboraoffice.com/ (Collabora Partners/Customers)
docker build --no-cache --build-arg type=cool --build-arg secret_key=<....> -t mydomain/cool -f Ubuntu .
3. Build Collabora Online 21.11 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 type=cool --build-arg secret_key=<....> -t mydomain/cool -f RHEL8 .
4. Build Collabora Online 21.11 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!