maubot (sha256:c6c0706872354858e29e7fba94eb270d7a37f9e8ec87bc1622cb16fb1f44faaf)
Published 2025-10-17 01:56:15 +01:00 by tom
Installation
docker pull git.tomfos.tr/tom/maubot@sha256:c6c0706872354858e29e7fba94eb270d7a37f9e8ec87bc1622cb16fb1f44faafsha256:c6c0706872354858e29e7fba94eb270d7a37f9e8ec87bc1622cb16fb1f44faafAbout this package
A plugin-based Matrix bot system.
Image layers
| # debian.sh --arch 'amd64' out/ 'stable' '@1759104000' |
| ARG DEBIAN_CODENAME=trixie |
| ARG CACHE_ARCH=amd64 |
| ENV DEBIAN_FRONTEND=noninteractive |
| RUN |2 DEBIAN_CODENAME=trixie CACHE_ARCH=amd64 /bin/sh -c apt-get update && apt-get install -y --no-install-recommends python3 python3-pip python3-setuptools python3-wheel ca-certificates curl gosu jq python3-aiohttp python3-aiodns python3-brotli python3-attr python3-bcrypt python3-cffi python3-ruamel.yaml python3-jinja2 python3-click python3-packaging python3-markdown python3-alembic python3-cssselect python3-commonmark python3-pygments python3-tz python3-regex python3-wcwidth python3-olm python3-cryptography python3-unpaddedbase64 python3-pillow python3-magic python3-feedparser python3-dateutil python3-lxml python3-semver && curl -L https://github.com/mikefarah/yq/releases/download/v4.6.3/yq_linux_amd64 -o /usr/bin/yq && chmod +x /usr/bin/yq && pip3 install uv --break-system-packages && rm -rf /var/cache/apt/* /var/lib/apt/lists/* # buildkit |
| COPY requirements.txt /opt/maubot/requirements.txt # buildkit |
| COPY optional-requirements.txt /opt/maubot/optional-requirements.txt # buildkit |
| WORKDIR /opt/maubot |
| RUN |2 DEBIAN_CODENAME=trixie CACHE_ARCH=amd64 /bin/sh -c apt-get update && apt-get install -y --no-install-recommends python3-dev build-essential git && grep -v '^#\|^$\|^python-olm\|^pycryptodome\|^unpaddedbase64' optional-requirements.txt > filtered-optional-requirements.txt && uv pip install --system --break-system-packages -r requirements.txt -r filtered-optional-requirements.txt dateparser langdetect python-gitlab pyquery tzlocal && chmod -R a+rX /usr/local/lib/python*/dist-packages /usr/lib/python*/dist-packages && apt-get remove --purge -y python3-dev build-essential git && apt-get autoremove -y && rm -rf /var/cache/apt/* /var/lib/apt/lists/* # buildkit |
| COPY . /opt/maubot # buildkit |
| RUN |2 DEBIAN_CODENAME=trixie CACHE_ARCH=amd64 /bin/sh -c uv pip install --system --break-system-packages -e . && chmod -R a+rX /usr/local/lib/python*/dist-packages /usr/lib/python*/dist-packages && find /opt/maubot -type d -exec chmod a+rx {} \; && find /opt/maubot -type f -exec chmod a+r {} \; # buildkit |
| RUN |2 DEBIAN_CODENAME=trixie CACHE_ARCH=amd64 /bin/sh -c cp maubot/example-config.yaml . # buildkit |
| COPY ./docker/mbc.sh /usr/local/bin/mbc # buildkit |
| RUN |2 DEBIAN_CODENAME=trixie CACHE_ARCH=amd64 /bin/sh -c chmod a+rx /usr/local/bin/mbc /opt/maubot/docker/run.sh # buildkit |
| COPY /frontend/build /opt/maubot/frontend # buildkit |
| ENV UID=1337 GID=1337 XDG_CONFIG_HOME=/data |
| VOLUME [/data] |
| CMD ["/opt/maubot/docker/run.sh"] |
Labels
| Key | Value |
|---|---|
| org.opencontainers.image.created | 2025-10-17T00:01:58.896Z |
| org.opencontainers.image.description | A plugin-based Matrix bot system. |
| org.opencontainers.image.licenses | |
| org.opencontainers.image.revision | af931d665987599fb32792aef64c01ececc07aa8 |
| org.opencontainers.image.source | https://git.tomfos.tr/tom/maubot |
| org.opencontainers.image.title | maubot |
| org.opencontainers.image.url | https://git.tomfos.tr/tom/maubot |
| org.opencontainers.image.version | latest |