This is a minimal base image based on Debian bookworm, uploaded to docker hub, with wine, winetricks xvfb, tini and steamcmd installed. It's intended to be used to run conventionally windows-only servers under linux inside docker containers.
Note: tini
is included because xvfb-run
won't correctly attach stdout among other issues if run as the root process.
- Base your docker image upon this one
- Perform any necessary setup
- Use winetricks to install needed libraries; make sure you have the right user
- Set your run
CMD
to the server startup command
FROM fragsoc/steamcmd-wine-xvfb
# Do some setup RUN commands, call steamcmd etc
# install some dependencies with winetricks
xvfb-run -a -- winetricks --unattended dinput8
CMD "./MyServer.exe"
If you need to, you can override the default ENTRYPOINT
(/usr/bin/launch_server
) with your own combination of tools.
- https://github.com/nuxy/docker-steamcmd-wine as recommended on the valve developer wiki.