zevlg / telega.el

GNU Emacs telegram client (unofficial)
https://zevlg.github.io/telega.el/
GNU General Public License v3.0
1.09k stars 85 forks source link

Docker for M1 out of date? #404

Open grburgess opened 1 year ago

grburgess commented 1 year ago

I'm using the docker server but after an update, it seems the library is now behind and there is no arm64 version available.

Telega Setup

OS: macOS 13.2.1 Emacs: GNU Emacs 29.0.60 (build 1, aarch64-apple-darwin22.3.0, NS appkit-2299.40 Version 13.2.1 (Build 22D68)) Features: svg webp ffmpeg Telega: telega v0.8.120 (TDLib v1.8.8-unknown) (telega-server v0.8.2 [docker])

Current Behavior

telga complains that

Steps to Reproduce

  1. just load telga
zevlg commented 1 year ago

Do we have some special docker image for M1? I don't think so. Update your docker image as described in the manual, i.e. $ docker pull zevlg/telega-server:latest to get latest image

I see only this tags in the docker hub docker-screenshot

grburgess commented 1 year ago

The last image might have supported arm64? I'm not sure but I know it was working. When I tried to pull the latest to match with the newest telga:

❯ docker pull zevlg/telega-server:latest
latest: Pulling from zevlg/telega-server
no matching manifest for linux/arm64/v8 in the manifest list entries
zevlg commented 1 year ago

Currently, we have only linux/amd64 as docker hub reports. Feel free to create Pull Request adding support for other OS/ARCH combinations

Building docker images is done by GitHub via https://github.com/zevlg/telega.el/blob/master/.github/workflows/docker.yml

grburgess commented 1 year ago

I can have a look

lonky commented 11 months ago

I found a workaround to this. Pull the image with option '--platform linux/amd64' : docker pull zevlg/telega-server:latest --platform linux/amd64 then change the 'latest' tag to 1.8.0: docker image tag zevlg/telega-server:latest zevlg/telega-server:1.8.0 Now when you type 'M x telega RET' it starts without any errors. You can delete the first image with 'latest' tag: docker image rm zevlg/telega-server:latest