jusito / docker-ttt

GMOD TTT server image

Home Page:https://hub.docker.com/r/jusito/docker-ttt

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

ARM Support (e.g. raspberry pi)

random-webdeveloper opened this issue · comments

running it without detached mode gives me
standard_init_linux.go:211: exec user process caused "exec format error"
after that the container dies. I think i set it up correctly

The base image itself is for multiple architectures, iam unsure if I need to create additional for it to work. (the error message is one of the default errors you will get then). Does it work with detached mode?

If you clone the repo and build the image yourself, does this help?

  1. navigate to clones repo
  2. execute bash test/testBuild.sh
  • I have no hardware to test on armel / armhf / arm64
  • debian supports all of above
  • lgsm explicitly doesn't support any arm, but could work
  • steamcmd will probably not work without an arm to x86 emulator link to example
  • gmod will probably not work without an arm to x86 emulator, but could because of source engine

The problematic dependencies which aren't available on arm:

  • lib32gcc1, can maybe replaced with lib32gcc1-amd64-cross / lib32gcc1-x32-cross
  • lib32stdc++6, can maybe replaced with lib32stdc++6-amd64-cross / lib32stdc++6-x32-cross
  • libtinfo5:i686, can maybe replaced with libtinfo5:armhf

Even with hardware it looks like a lot of work and I don't have the hardware for testing, but I would be quite happy if you would contribute it. branch I prepared for it
If you are looking for alternatives, I would probably testing with a good vserver. E.g. VPS 200 G8 2.62€ per month could work.

You can archiv this by setting an env while you build.
https://www.docker.com/blog/multi-arch-build-and-images-the-simple-way/