[PR #177] [MERGED] Implement a lutris container. #206

Closed
opened 2026-10-15 12:49:58 +00:00 by bsakaguchi · 0 comments
Owner

📋 Pull Request Information

Original PR: https://github.com/games-on-whales/gow/pull/177
Author: @robjh
Created: 6/30/2024
Status: ✅ Merged
Merged: 7/2/2024
Merged by: @ABeltramo

Base: master ← Head: robjh/lutris


📝 Commits (6)

  • 4fb1db5 Allow launcher program to take arguments.
  • 97efce8 Lutris
  • b42fe14 Dismiss wine systemwide warning by default.
  • 1e73d62 add lutris documentation
  • 8840e82 Lutris Doc. Add note about docker named volumes.
  • 6e67c1d docs: refactor

📊 Changes

8 files changed (+523 additions, -9 deletions)

View changed files

📝 docs/modules/ROOT/nav.adoc (+3 -0)
➕ docs/modules/ROOT/pages/lutris.adoc (+389 -0)
📝 images/base-app/scripts/launch-comp.sh (+8 -9)
➕ images/lutris/Dockerfile (+43 -0)
➕ images/lutris/configs/lutris-lutris.conf (+2 -0)
➕ images/lutris/configs/lutris-system.yml (+2 -0)
➕ images/lutris/scripts/startup-10-create-dirs.sh (+58 -0)
➕ images/lutris/scripts/startup.sh (+18 -0)

📄 Description

This PR would add a new container image for lutris.

Lutris contains a mechanism to install software via yaml scripts. This PR leverages this feature to enable the creation of images specialised for specific applications. (see lutris-supertux for an example).

I've moved several key lutris directories into /var/lutris/, this is to make it possible for multiple containers to share the same set of installation files.

I've also changed the launcher script in the base-app image to be able to specify command-line arguments to the application to be launched.

suggested wolf config.toml snippet;

[[apps]]
title = "Lutris"
start_virtual_compositor = true

[apps.runner]
type = "docker"
name = "WolfLutris"
image = "gow/lutris"
mounts = ["lutris-games:/var/lutris/:rw"] # Adjust this based on your system
env = ["RUN_SWAY=1","GOW_REQUIRED_DEVICES=/var/lutris/ /dev/input/event* /dev/dri/* /dev/nvidia*"]
devices = []
ports = []
base_create_json = """
{
  "HostConfig": {
    "IpcMode": "host",
    "CapAdd": ["NET_RAW", "MKNOD", "NET_ADMIN", "SYS_ADMIN", "SYS_NICE"],
    "Privileged": false,
    "DeviceCgroupRules": ["c 13:* rmw", "c 244:* rmw"]
  }
}
\
"""

🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.

## 📋 Pull Request Information **Original PR:** https://github.com/games-on-whales/gow/pull/177 **Author:** [@robjh](https://github.com/robjh) **Created:** 6/30/2024 **Status:** ✅ Merged **Merged:** 7/2/2024 **Merged by:** [@ABeltramo](https://github.com/ABeltramo) **Base:** `master` ← **Head:** `robjh/lutris` --- ### 📝 Commits (6) - [`4fb1db5`](https://github.com/games-on-whales/gow/commit/4fb1db5535e8499c9b6f18b38433e7c7741701ae) Allow launcher program to take arguments. - [`97efce8`](https://github.com/games-on-whales/gow/commit/97efce827acad91bd789d9be3b44b012282706ae) Lutris - [`b42fe14`](https://github.com/games-on-whales/gow/commit/b42fe14472458e06705fc8a635eca5f0de511a96) Dismiss wine systemwide warning by default. - [`1e73d62`](https://github.com/games-on-whales/gow/commit/1e73d6281ea3bf34fec71ac6746e64ad2193c560) add lutris documentation - [`8840e82`](https://github.com/games-on-whales/gow/commit/8840e824a0ee0f54219f742845ac28224177163d) Lutris Doc. Add note about docker named volumes. - [`6e67c1d`](https://github.com/games-on-whales/gow/commit/6e67c1de139249f630c020a925b71826d878071c) docs: refactor ### 📊 Changes **8 files changed** (+523 additions, -9 deletions) <details> <summary>View changed files</summary> 📝 `docs/modules/ROOT/nav.adoc` (+3 -0) ➕ `docs/modules/ROOT/pages/lutris.adoc` (+389 -0) 📝 `images/base-app/scripts/launch-comp.sh` (+8 -9) ➕ `images/lutris/Dockerfile` (+43 -0) ➕ `images/lutris/configs/lutris-lutris.conf` (+2 -0) ➕ `images/lutris/configs/lutris-system.yml` (+2 -0) ➕ `images/lutris/scripts/startup-10-create-dirs.sh` (+58 -0) ➕ `images/lutris/scripts/startup.sh` (+18 -0) </details> ### 📄 Description This PR would add a new container image for lutris. Lutris contains a mechanism to install software via yaml scripts. This PR leverages this feature to enable the creation of images specialised for specific applications. (see lutris-supertux for an example). I've moved several key lutris directories into /var/lutris/, this is to make it possible for multiple containers to share the same set of installation files. I've also changed the launcher script in the base-app image to be able to specify command-line arguments to the application to be launched. suggested wolf config.toml snippet; ```toml [[apps]] title = "Lutris" start_virtual_compositor = true [apps.runner] type = "docker" name = "WolfLutris" image = "gow/lutris" mounts = ["lutris-games:/var/lutris/:rw"] # Adjust this based on your system env = ["RUN_SWAY=1","GOW_REQUIRED_DEVICES=/var/lutris/ /dev/input/event* /dev/dri/* /dev/nvidia*"] devices = [] ports = [] base_create_json = """ { "HostConfig": { "IpcMode": "host", "CapAdd": ["NET_RAW", "MKNOD", "NET_ADMIN", "SYS_ADMIN", "SYS_NICE"], "Privileged": false, "DeviceCgroupRules": ["c 13:* rmw", "c 244:* rmw"] } } \ """ ``` --- <sub>🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.</sub>
bsakaguchi 2026-10-15 12:49:58 +00:00
Sign in to join this conversation.
No milestone
No project
No assignees
1 participant
Notifications
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

No due date set.

Dependencies

No dependencies set.

Reference
games-on-whales/gow#206
No description provided.