mt-bridge (latest)
Published 2026-03-19 20:16:40 +07:00 by t-lessy
Installation
docker pull git.tlessy.ru/t-lessy/mt-bridge:latestsha256:5c60e37b6122456497d9999e0c2874f2980158a1baf6928b1f0e45d612702475Image layers
| ADD alpine-minirootfs-3.22.0-x86_64.tar.gz / # buildkit |
| CMD ["/bin/sh"] |
| RUN /bin/sh -c apk add --no-cache zlib libpng giflib libstdc++ libgcc # buildkit |
| COPY /usr/lib/librlottie.so* /usr/lib/ # buildkit |
| COPY /lottieconverter/build/lottieconverter /usr/local/bin/lottieconverter # buildkit |
| COPY /cryptg-*.whl / # buildkit |
| RUN /bin/sh -c apk add --no-cache python3 py3-pip py3-setuptools py3-wheel py3-pillow py3-aiohttp py3-asyncpg py3-aiosqlite py3-magic py3-ruamel.yaml py3-commonmark py3-phonenumbers py3-mako py3-idna py3-rsa py3-pyaes py3-aiodns py3-python-socks py3-cffi py3-qrcode py3-brotli ffmpeg ca-certificates su-exec netcat-openbsd py3-olm py3-pycryptodome py3-unpaddedbase64 py3-future bash curl jq yq # buildkit |
| COPY requirements.txt /opt/mautrix-telegram/requirements.txt # buildkit |
| COPY optional-requirements.txt /opt/mautrix-telegram/optional-requirements.txt # buildkit |
| WORKDIR /opt/mautrix-telegram |
| RUN /bin/sh -c apk add --virtual .build-deps python3-dev libffi-dev build-base && pip3 install --break-system-packages /cryptg-*.whl && pip3 install --break-system-packages --no-cache-dir -r requirements.txt -r optional-requirements.txt && apk del .build-deps && rm -f /cryptg-*.whl # buildkit |
| COPY . /opt/mautrix-telegram # buildkit |
| RUN /bin/sh -c apk add git && pip3 install --break-system-packages --no-cache-dir .[all] && apk del git && cp mautrix_telegram/example-config.yaml . && rm -rf mautrix_telegram .git build # buildkit |
| VOLUME [/data] |
| ENV UID=1337 GID=1337 FFMPEG_BINARY=/usr/bin/ffmpeg |
| CMD ["/opt/mautrix-telegram/docker-run.sh"] |