2020-10-02 03:53:04 -05:00
|
|
|
Collabora Online docker
|
2020-02-25 14:40:30 -06:00
|
|
|
|
|
|
|
This directory contains everything needed to compile a
|
2020-11-22 15:18:37 -06:00
|
|
|
working docker container with Collabora Online.
|
2020-02-25 14:40:30 -06:00
|
|
|
|
2020-11-22 15:18:37 -06:00
|
|
|
Docker image can be built from packages or from source code.
|
2020-02-25 14:40:30 -06:00
|
|
|
|
2022-07-12 16:24:01 -05:00
|
|
|
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.
|
|
|
|
|
2020-11-22 15:18:37 -06:00
|
|
|
Examples:
|
|
|
|
|
|
|
|
1. Build latest CODE based on Ubuntu 18.04 LTS
|
|
|
|
|
|
|
|
cd from-packages
|
|
|
|
docker build --no-cache -t mydomain/code -f Ubuntu .
|
|
|
|
|
2022-08-11 08:25:02 -05:00
|
|
|
2. Build Collabora Online 22.05 based on Ubuntu 18.04 LTS
|
2021-02-09 08:48:22 -06:00
|
|
|
|
|
|
|
cd from-packages
|
2021-11-22 08:00:16 -06:00
|
|
|
# Get your secret URL key from https://support.collaboraoffice.com/ (Collabora Partners/Customers)
|
2022-09-18 12:34:26 -05:00
|
|
|
# e.g. the secret key is Example-413539ece39485afc35b4a469adfde0a279d2fd2
|
|
|
|
echo Example-413539ece39485afc35b4a469adfde0a279d2fd2 > secret_key
|
2022-09-25 06:50:08 -05:00
|
|
|
export DOCKER_BUILDKIT=1
|
2022-09-18 12:34:26 -05:00
|
|
|
docker build --no-cache --secret id=secret_key,src=secret_key --build-arg type=cool -t mydomain/cool -f Ubuntu .
|
2021-02-09 08:48:22 -06:00
|
|
|
|
2022-08-11 08:25:02 -05:00
|
|
|
3. Build Collabora Online 22.05 based on RHEL8
|
2020-11-22 15:18:37 -06:00
|
|
|
|
|
|
|
cd from-packages
|
|
|
|
# Get your secret URL key from https://support.collaboraoffice.com/ (Collabora Partners/Customers)
|
2022-09-18 12:34:26 -05:00
|
|
|
# e.g. the secret key is Example-413539ece39485afc35b4a469adfde0a279d2fd2
|
|
|
|
echo Example-413539ece39485afc35b4a469adfde0a279d2fd2 > secret_key
|
2022-09-25 06:50:08 -05:00
|
|
|
export DOCKER_BUILDKIT=1
|
2022-09-18 12:34:26 -05:00
|
|
|
docker build --no-cache --secret id=secret_key,src=secret_key --build-arg type=cool -t mydomain/cool -f RHEL8 .
|
2020-11-22 15:18:37 -06:00
|
|
|
|
2022-08-11 08:25:02 -05:00
|
|
|
4. Build Collabora Online 22.05 license key enabled version based on Ubuntu 18.04 LTS
|
2020-11-22 15:18:37 -06:00
|
|
|
|
|
|
|
cd from-packages
|
2020-11-22 15:41:42 -06:00
|
|
|
docker build --no-cache --build-arg type=key -t mydomain/cool -f Ubuntu .
|
2020-11-22 15:18:37 -06:00
|
|
|
|
2021-02-09 08:48:22 -06:00
|
|
|
5. Build Collabora Online from master branch (from source code)
|
2020-11-22 15:18:37 -06:00
|
|
|
|
|
|
|
cd from-source
|
|
|
|
./build.sh
|
|
|
|
|
|
|
|
Check build.sh for more build options!
|