15 lines
555 B
Docker
15 lines
555 B
Docker
FROM fedora:35@sha256:524365ad5326cdaea6f9051f0f3c07dfed37bd1009da8bdefb859178c0bab776
|
|
ENV COMMANDER_VERSION="7ab3fd9a0ef4eb19d882cb3701d2025b4d41b63a"
|
|
|
|
WORKDIR /app
|
|
|
|
RUN dnf upgrade -y \
|
|
&& dnf install -y git pip libolm-devel gcc python-devel python3-dbus \
|
|
&& git clone https://github.com/8go/matrix-commander.git . \
|
|
&& git checkout "${COMMANDER_VERSION}" \
|
|
&& pip3 install wheel \
|
|
&& pip3 install -r /app/requirements.txt
|
|
|
|
VOLUME /data
|
|
|
|
ENTRYPOINT ["/bin/python3", "/app/matrix-commander.py" ,"-s", "/data/store", "-c", "/data/credentials.json"]
|