Docker image to run a dedicated openTTD server on Alpine Linux.
When using Alpine Linux for Docker images, the image size will be a lot less in comparison when using Debian as base image.
- Install via generic linux binary didn't work ✅
- Compiling and installing works ✅
- Starting the dedicated server works ✅
- When connecting with a client the dedicated server immediately crashes with a segmentation fault. ❌
- Check debug message via gdb, OpenTTD has to be compiled with a DEBUG flag.
docker build -t openttd-alpine .
# run 'openttd -D'
docker run --rm openttd-alpine
# start shell
docker run -it --rm openttd-alpine sh