initial commit
All checks were successful
continuous-integration/drone/push Build is passing

This commit is contained in:
Samuel Philipp 2021-08-16 20:53:31 +02:00
commit 7f10ac016e
Signed by: samuel-p
GPG key ID: 2AD495D17760CB4E
6 changed files with 704 additions and 0 deletions

15
Dockerfile Normal file
View file

@ -0,0 +1,15 @@
FROM fedora:34@sha256:22e172e14b1300ce473ca15a80c273676305ad6c7a57f0f8cb25816bfce8d196
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"]