🇷🇺 Что нового (RU)
Что решает этот релиз
• Исправлен краш exit code 132 (SIGILL / invalid opcode) в Docker-образе linux/amd64, который проявлялся на старте (чаще всего при use_middle_proxy=true).
Что изменено
• Docker build profile: для linux/amd64 сборка теперь явно фиксирована как -Dtarget=x86_64-linux -Dcpu=x86_64.
• Portable by default: убрана зависимость от CPU-фич машины, где собирался образ, чтобы host-specific инструкции не попадали в релизный бинарь.
• Документация: в README добавлено пояснение про portable-профиль для amd64 Docker-образов.
После обновления
• Достаточно обновить образ и перезапустить контейнер:
docker pull ghcr.io/sleep3r/mtproto.zig:latest
• Изменения в config.toml не требуются.
🇬🇧 Release notes (EN)
What this release addresses
• Fixes exit code 132 (SIGILL / invalid opcode) in the linux/amd64 Docker image, typically visible on startup (most often when use_middle_proxy=true).
What changed
• Docker build profile: linux/amd64 images are now built with an explicit portable profile: -Dtarget=x86_64-linux -Dcpu=x86_64.
• Portable by default: removes dependency on the builder host CPU features so host-specific instructions do not leak into published binaries.
• Docs: added a README note about the portable amd64 Docker profile.
After updating
• Pull the updated image and restart the container:
docker pull ghcr.io/sleep3r/mtproto.zig:latest
• No config.toml changes are required.