Use wine-ge for wine package and disable virtual desktop mode, use implicit env import for steam

This commit is contained in:
Alex D. 2024-12-01 13:17:29 +00:00
parent 61611982a2
commit f2f689e238
Signed by: caskd
GPG Key ID: F92BA85F61F4C173
3 changed files with 7 additions and 15 deletions

View File

@ -9,7 +9,7 @@ podman create \
--userns=keep-id:uid=10000 \
--security-opt=seccomp=unconfined \
--restart=on-failure:5 \
-e DISPLAY="$DISPLAY" \
-e DISPLAY \
-v '/sys:/sys' \
-v '/dev:/dev' \
-v '/run/pulse:/run/pulse' \

View File

@ -1,23 +1,14 @@
# Main image
FROM localhost/caskd/archlinux/graphical:latest
# Enable multilib
RUN printf '%s\n%s\n' '[multilib]' 'Include = /etc/pacman.d/mirrorlist' | tee -a /etc/pacman.conf
USER yaybuild
RUN --network=host yay -Sy --noconfirm \
wine-ge-custom
USER root
RUN --network=host pacman -Sy --noconfirm \
lib32-mesa \
lib32-pulseaudio \
lib32-vkd3d \
lib32-vulkan-radeon \
vkd3d \
wine \
wine-mono \
winetricks
USER user
WORKDIR /home/user
# Required for optimal performance from DX9-11
RUN --network=host winetricks -q \
dxvk2010
USER root

View File

@ -4,6 +4,7 @@ podman run \
--user user \
--network=host \
--userns=keep-id:uid=10000 \
--security-opt=seccomp=unconfined \
-e DISPLAY \
-e WINEDLLOVERRIDES=winhttp=n,b \
-v '/sys:/sys' \
@ -15,4 +16,4 @@ podman run \
-v '.:/run/current' \
-v 'wine_generic_data:/home/user/.wine:U' \
-w /run/current \
localhost/caskd/archlinux/wine:latest wine explorer /desktop=desktop,1920x1080 "$@"
localhost/caskd/archlinux/wine:latest wine "$@"