eisengrind / docker-altv-server

The unofficial alt:V server Docker image.
https://hub.docker.com/r/eisengrind/altv-server
MIT License
21 stars 18 forks source link

ARMx64 support? #41

Closed enisn closed 3 months ago

enisn commented 3 months ago

I've tried running it on ubuntu 22 with ARMx64 processor and got the following error:

exec /root/entrypoint.sh: exec format error
exec /root/entrypoint.sh: exec format error
exec /root/entrypoint.sh: exec format error
exec /root/entrypoint.sh: exec format error
exec /root/entrypoint.sh: exec format error
exec /root/entrypoint.sh: exec format error

Is it possible to create another image for arm64v8 platforms?

You used golang image here https://github.com/eisengrind/docker-altv-server/blob/87813d13916e5809b4ba218b6c5902c2e4c022a6/Dockerfile#L1 and alternative is: https://hub.docker.com/r/arm64v8/golang/


And used ubuntu image: https://github.com/eisengrind/docker-altv-server/blob/87813d13916e5809b4ba218b6c5902c2e4c022a6/Dockerfile#L13 arm64 version: https://hub.docker.com/r/arm64v8/ubuntu/

Note: I already have done for my own purpose, but providing an alternative image for ARM64 might be a good idea for this repository

enisn commented 3 months ago

Still doesn't work since native file isn't compiled for ARM https://github.com/altmp/altv-issues/issues/1960