aiogram / telegram-bot-api

Docker image of Telegram Bot API Server
https://hub.docker.com/r/aiogram/telegram-bot-api
153 stars 50 forks source link

Request -- support for arm64 architecture #9

Closed EtaoinWu closed 8 months ago

EtaoinWu commented 1 year ago

The docker image currently only has linux/386 and linux/amd64 variants. Is it possible that you can build the same image for linux/arm64/v8?

JrooTJunior commented 1 year ago

This may not be possible on GitHub

I've tried a few times to enable ARM builds, but they always get stuck longer than the GitHub Action's duration limit (6 hours) and always fail.

I might try to do it again, but I don't think anything would be different

Luoxin commented 10 months ago

The docker image currently only has linux/386 and linux/amd64 variants. Is it possible that you can build the same image for linux/arm64/v8?

Mabey you can build use

git clone --recursive https://github.com/aiogram/telegram-bot-api.git
cd telegram-bot-api
make build
JrooTJunior commented 10 months ago

Of course, you can build this image manually on any platform using this command.

Right now I already have a draft of the redesigned multiplatformDocker Image (build each platform separatelly and then merge their metadata), I need some free time to finish it, maybe I'll find time for it before the new year, I hope so.

rafaelslopes1 commented 8 months ago

Do we have any news about this?

JrooTJunior commented 8 months ago

Very hard december =(

tshipenchko commented 8 months ago

As a workaround, I made a fork with ARM builds on my own github actions runner.

rafaelslopes1 commented 8 months ago

As a workaround, I made a fork with ARM builds on my own github actions runner.

Oh, thank you. This will be of great help.

JrooTJunior commented 8 months ago

ARM builds should be available after #12 is merged into the main branch.

JrooTJunior commented 8 months ago

Congratulations 🎉🎉🎉

From now you can use ARM builds from Docker Hub

SmartSelect_20240106_155130_Chrome