This repository has been archived on 2021-11-03. You can view files and clone it, but cannot push or open issues or pull requests.
matrix-commander-docker/Dockerfile

17 lines
505 B
Docker
Raw Normal View History

2021-11-03 05:01:40 +00:00
FROM fedora:36@sha256:8f826d2b4322fe33d89a49ce21889daf05c5f67e0b0f06c1057d8b021b2021c8
2021-08-16 18:53:31 +00:00
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
2021-08-27 15:34:17 +00:00
COPY entrypoint.sh /
2021-08-16 18:53:31 +00:00
VOLUME /data
2021-08-27 15:34:17 +00:00
ENTRYPOINT ["bash", "/entrypoint.sh"]