Skip to content

Instantly share code, notes, and snippets.

@Ezka77
Created June 20, 2024 05:15
Show Gist options
  • Save Ezka77/f2fc06b1dd6c707176f8375dcb58480f to your computer and use it in GitHub Desktop.
Save Ezka77/f2fc06b1dd6c707176f8375dcb58480f to your computer and use it in GitHub Desktop.
fedora 39 desktop runner
services:
f39x:
container_name: f39x_runner
build:
dockerfile: f39x.Dockerfile
tags:
- f39x
tty: true
stdin_open: true
command: /bin/bash
environment:
- DISPLAY
- WAYLAND_DISPLAY
- XAUTHORITY
- XDG_RUNTIME_DIR
- XDG_SESSION_TYPE
volumes:
# for X11 or anything not compatible with wayland
- type: bind
source: /tmp/.X11-unix
target: /tmp/.X11-unix
read_only: true
## Share the runtime dir
- type: bind
source: ${XDG_RUNTIME_DIR}
target: ${XDG_RUNTIME_DIR}
read_only: true
## share resources
- type: bind
source: /home/theo/work/rapidash
target: /tmp/work/rapidash
- type: bind
source: /home/theo/work/mingw64-build
target: /tmp/work/build
devices:
# Intel Iris card on my machine
- /dev/dri/card0
- /dev/dri/renderD128
# Nvidia but drivers issue with wayland ?
- /dev/dri/card1
- /dev/dri/renderD129
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment