Skip to content

A docker image to serve as a base for running windows-based gameservers in linux

License

Notifications You must be signed in to change notification settings

FragSoc/steamcmd-wine-xvfb-docker

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

14 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Basic Gameserver Wine Base Docker Image

Travis (.com) Docker Pulls GitHub

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.

Usage

  1. Base your docker image upon this one
  2. Perform any necessary setup
  3. Use winetricks to install needed libraries; make sure you have the right user
  4. 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.

Similar Tools

About

A docker image to serve as a base for running windows-based gameservers in linux

Topics

Resources

License

Stars

Watchers

Forks