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
samuel-p 5cae91fda8
All checks were successful
continuous-integration/drone/push Build is passing
fixed exit code
2021-08-27 17:34:17 +02:00

16 lines
505 B
Docker

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
COPY entrypoint.sh /
VOLUME /data
ENTRYPOINT ["bash", "/entrypoint.sh"]