mirror of
https://github.com/asciinema/asciinema.git
synced 2026-04-25 07:55:51 +03:00
[GH-ISSUE #541] latest image broken due to wrong arch binary #294
Labels
No labels
bug
compatibility
feature request
fit for beginners
help wanted
hosting
idea
improvement
packaging
pull-request
No milestone
No project
No assignees
1 participant
Notifications
Due date
No due date set.
Dependencies
No dependencies set.
Reference
starred/asciinema#294
Loading…
Add table
Add a link
Reference in a new issue
No description provided.
Delete branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Originally created by @SNB-hz on GitHub (Mar 21, 2023).
Original GitHub issue: https://github.com/asciinema/asciinema/issues/541
Trying to use the latest image from Github container registry yields the following error:
exec /usr/local/bin/asciinema: exec format errorApparently the image contains a binary compiled for a different architecture.
Affected image sha256:
bc05a57bf4cbd3d6708ed7abdd38b5924cdb6394bb9e6c5a1361ae8d7e409354@ku1ik commented on GitHub (Mar 21, 2023):
What arch are you installing on?
@SNB-hz commented on GitHub (Mar 21, 2023):
x86_64
the same k8s cluster ran the old docker images (
asciinema/asciinema-server:latest) for months without issues. Had to clear the docker image cache and therefore switched to the Github container registry images. All other settings apart from image URL remained unchanged@SNB-hz commented on GitHub (Mar 21, 2023):
tried it out locally and got a bit more output: seems the
latestimage is ARM, which imo should be tagged separately.Status: Downloaded newer image for ghcr.io/asciinema/asciinema:latest WARNING: The requested image's platform (linux/arm64/v8) does not match the detected host platform (linux/amd64/v3) and no specific platform was requestedI've tried using Ubuntu and alpine images instead, but those containers just Error out / CrashLoop without logging anything. Again, the DockerHub image with exact same settings worked just fine
@ku1ik commented on GitHub (Mar 21, 2023):
Ah, so that's about asciinema-server image, not asciinema (this repo), got it.Nevermind, see below.
@ku1ik commented on GitHub (Mar 21, 2023):
The asciinema-server one seems to be fine, just tested it on x86_64 box:
@ku1ik commented on GitHub (Mar 21, 2023):
The image for asciinema cli (recorder) is indeed wrong arch:
@ku1ik commented on GitHub (Mar 21, 2023):
Just fixed the above problem.
If you're looking for asciinema server image then make sure you use
ghcr.io/asciinema/asciinema-serverimage, notghcr.io/asciinema/asciinema.