File: README.md

package info (click to toggle)
python-matrix-nio 0.25.2-1
  • links: PTS, VCS
  • area: main
  • in suites: forky, sid, trixie
  • size: 2,224 kB
  • sloc: python: 23,670; makefile: 36; sh: 8
file content (28 lines) | stat: -rw-r--r-- 842 bytes parent folder | download | duplicates (2)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
# 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:

```sh
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`:

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

To customise the libolm version, set `LIBOLM_VERSION`:

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