mirror of
https://github.com/games-on-whales/gow.git
synced 2026-10-16 05:12:00 +00:00
[PR #76] [MERGED] WIP: create base and base-x11 images, move common init functionality to them #135
Labels
No labels
bug
enhancement
enhancement
github_actions
good first issue
help wanted
help wanted
invalid
needs testers
pull-request
question
x11-images
No milestone
No project
No assignees
1 participant
Notifications
Due date
No due date set.
Dependencies
No dependencies set.
Reference
games-on-whales/gow#135
Loading…
Add table
Add a link
Reference in a new issue
No description provided.
Delete branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
📋 Pull Request Information
Original PR: https://github.com/games-on-whales/gow/pull/76
Author: @zb140
Created: 9/4/2022
Status: ✅ Merged
Merged: 10/10/2022
Merged by: @zb140
Base:
master← Head:refactor📝 Commits (9)
3483116* create base and base-x11 images, move common init functionality to them88f1e77rename base-x11 to base-app; change xorg to use base instead of base-appe853838fix xorg container9ada393remove references to a specific repositoryd501de8provide the name of the base and base-app images as build argsf423e4ffix default build env20a6a37Update the build docs to explain how to build all the new imagesa47f9c8Move ICD to base-app, since any image that wants Vulkan will need it2342ba5fix warning on launch📊 Changes
31 files changed (+503 additions, -361 deletions)
View changed files
➕
.github/workflows/auto-build.yml(+46 -0)📝
.github/workflows/docker-build-and-publish.yml(+65 -29)📝
compose/headless.yml(+18 -13)📝
compose/retroarch.yml(+5 -4)📝
compose/steam.yml(+6 -4)📝
docker-compose.yml(+6 -4)📝
docs/modules/ROOT/pages/docker-build.adoc(+47 -6)➕
env/build.env(+2 -0)➕
images/base-app/Dockerfile(+26 -0)📝
images/base-app/configs/nvidia_icd.json(+0 -0)➕
images/base-app/scripts/startup.sh(+11 -0)📝
images/base-app/scripts/wait-x11(+6 -6)➕
images/base/Dockerfile(+38 -0)📝
images/base/build/setup-retro-user(+8 -8)➕
images/base/scripts/bootstrap.sh(+15 -0)📝
images/base/scripts/ensure-groups(+10 -12)➕
images/base/scripts/lib/utils.sh(+5 -0)📝
images/pulseaudio/Dockerfile(+21 -18)📝
images/pulseaudio/scripts/startup.sh(+7 -7)📝
images/retroarch/Dockerfile(+13 -22)...and 11 more files
📄 Description
I had so much fun refactoring the compose files, I did some refactoring on the
Dockerfiles too 😁The biggest improvements are
baseand abase-x11image. These are used to keep container init logic like creating users, ensuring device access, etc in one central location. They also provide a central place to change the "actual" base distro for all containers at the same time.ubuntu:22.04. This fixes build issues associated withubuntu:21.04being EOL.If anyone wants to give these images a try, I've published builds of them on my own GitHub account (eg
ghcr.io/zb140/gow-sunshine:refactor).This PR is not quite ready for merge as-is. Some things that still need doing:
.github/workflows/docker-build.ymlin a couple of places. Most notably, I had to disable parallel builds because I couldn't figure out how to specify dependencies between matrix entries. If that turns out to be impossible, I'll need to figure out a different solution.Dockerfilein this branch is currently set up to build the forked branch that contains the Pulseaudio crash fix. We'll probably want to switch that to something else, or else not merge this until after that bug is fixed.🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.