A transparent, fully-buildable reconstruction of the anasty17/mltb base
image used by mirror-leech-telegram-bot.
The upstream image is published to Docker Hub without its Dockerfile — the
build is executed from a BuildKit secret, so docker history reveals nothing.
This repo provides a clean, readable Dockerfile that reproduces a functionally
equivalent base image from public packages only.
Note
Unofficial. This project is not affiliated with, endorsed by, or supported by the upstream maintainer. It is an independent reconstruction derived by inspecting the publicly distributed image. The bot itself lives at anasty17/mirror-leech-telegram-bot under its own license.
This is a base image — it ships the runtime and download/processing
binaries only. The bot's own source is layered on top by the consumer
(see examples/Dockerfile).
| Component | Version | Source |
|---|---|---|
| Ubuntu | 26.04 (resolute) | ubuntu:26.04 |
| Python | 3.14 | Ubuntu archive |
| aria2 | 1.37.0 | Ubuntu archive |
| qBittorrent (nox) + libtorrent | 5.2.1 / 2.0 | ppa:qbittorrent-team/qbittorrent-stable |
| SABnzbd + sabctools | 5.x | ppa:jcfp/nobetas |
| ffmpeg | 8.0.1 | Ubuntu archive |
| MediaInfo | 26.01 | Ubuntu archive |
| 7zip (+ rar) | 26.00 | Ubuntu archive |
| OpenJDK (for JDownloader) | 25 (default-jre) |
Ubuntu archive |
| rclone | 1.74.2 | official static release |
| JDownloader | latest | installer.jdownloader.org |
Also included so the bot's own layer builds and runs on top: gcc/g++ and
python3-venv (the bot creates a venv and compiles C extensions such as
tgcrypto), libmagic1 (for python-magic), and helper tools
AtomicParsley, cabextract, jq, pv, zstd.
Python dependencies are installed from the Ubuntu archive as python3-* /
apprise packages rather than via pip — matching upstream and avoiding the
EXTERNALLY-MANAGED restriction on Python 3.14.
docker build -t mltb-base .git clone https://github.com/anasty17/mirror-leech-telegram-bot
cd mirror-leech-telegram-bot
cp /path/to/this/examples/Dockerfile .
docker build -t mltb-bot .See examples/Dockerfile for the pattern.
docker run --rm mltb-base bash -c '
python3 --version; aria2c --version | head -1; qbittorrent-nox --version
rclone --version | head -1
python3 -c "import apprise, cryptography, requests, guessit; print(\"imports OK\")"
'The full reverse-engineering process — how the build was hidden and how each
component was recovered from the image filesystem — is documented in
docs/REVERSE-ENGINEERING.md.
The Dockerfile and scripts in this repository are released under the MIT License. They are original work and contain no upstream source code. The bot they support is licensed separately by its own authors.