FROM fedora:34@sha256:d18bc88f640bc3e88bbfacaff698c3e1e83cae649019657a3880881f2549a1d0 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"]