Closed razaqq closed 2 years ago
Pretty sweet upgrade. Might be able to use docker-compose to allow binding of different configuration files when batch launching containers. Just an idea.
Please I'm really hoping this can get looked at and merged. I've been watching this PR for 6 months, I'm happy to test.
@KptnKMan @ShabanTSU I've published a test image now: https://hub.docker.com/repository/docker/compujuckel/assettoserver
It's built from this branch: https://github.com/compujuckel/AssettoServer/tree/razaqq-docker with some improvements to this PR, for example the required Steam libraries are preinstalled so that UseSteamAuth
will just work.
Your configs etc. have to be mounted at /data
(so that server_cfg.ini
should be at /data/cfg/server_cfg.ini
)
Please let me know if it works.
Adds docker support. Uses CI building to push to dockerhub (
compujuckel/assettoserver
) (you would have to set repo secretsDOCKERHUB_USERNAME
andDOCKERHUB_TOKEN
). If you want to use github's ghcr.io instead for example then just changing the one CI step is enough.Image is alpine based (~100 MB final size) and build in two stages using buildx for multiarch support