-
Notifications
You must be signed in to change notification settings - Fork 479
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
arm64 container fails with "Exec format error" #922
Comments
Thank you for the detailed report. Can you please open a PR because I am not too experienced working with these Docker tasks? |
I think I've provided the fix in #936 |
@jrcichra A possible fix from @dargmuesli is in https://github.com/tus/tusd/releases/tag/v1.11.0. Can you please test it out and let us know if it helps? |
Hey @dargmuesli thanks for picking this up.
|
Describe the bug
When trying to run
ghcr.io/tus/tusd:v1.10.1
on an ARM Amphere system, the container fails to start and displays the error message:To Reproduce
Steps to reproduce the behavior:
On an arm64 system with docker or an equivalent container runtime, execute
docker run -it --rm ghcr.io/tus/tusd:v1.10.1
Expected behavior
Running this command would start tusd.
Setup details
Please provide following details, if applicable to your situation:
I suspect specifying the GOARCH in the Dockerfile is the root cause of the issue: https://github.com/tus/tusd/blob/main/Dockerfile#L23
The github action here should do the right thing with no GOARCH in the Dockerfile: https://github.com/tus/tusd/blob/main/.github/workflows/release.yaml#L71
The text was updated successfully, but these errors were encountered: