matrix-nio/docker
Christian Paul accc886a8b
Update Dockerfile: Update version numbers
2022-05-30 13:14:07 +02:00
..
Dockerfile Update Dockerfile: Update version numbers 2022-05-30 13:14:07 +02:00
README.md Add a docker container with e2ee deps pre-installed 2020-05-31 19:51:31 +01:00
build_and_install_libolm.sh Add a docker container with e2ee deps pre-installed 2020-05-31 19:51:31 +01:00

README.md

Docker

The provided docker base image is based on alpine, and comes with libolm and libolm python3 bindings installed. This image can then be built on top of for projects that use matrix-nio.

Building the Image

To build the image from source, use the following docker build command from the repo's root:

docker build -t poljar/matrix-nio:latest -f docker/Dockerfile .

You can also customise the version of libolm and python that is bundled in the container using the following build arguments.

To customise the python version, set PYTHON_VERSION:

docker build -t poljar/matrix-nio:latest -f docker/Dockerfile --build-arg PYTHON_VERSION=3.8 .

To customise the libolm version, set LIBOLM_VERSION:

docker build -t poljar/matrix-nio:latest -f docker/Dockerfile --build-arg LIBOLM_VERSION=3.1.4 .