From 67ea698aeab62502bbc83de3d6ce37991acc311b Mon Sep 17 00:00:00 2001 From: Anders Rytter Hansen Date: Sun, 3 Aug 2025 00:55:27 -0300 Subject: [PATCH] comment out nvidia glx library name and copy /etc/environment file --- Dockerfile | 2 ++ etc/environment | 2 +- 2 files changed, 3 insertions(+), 1 deletion(-) diff --git a/Dockerfile b/Dockerfile index dfdfae9..ad6a52b 100644 --- a/Dockerfile +++ b/Dockerfile @@ -38,5 +38,7 @@ RUN systemctl disable nvidia-powerd # Add rule to SELinux allowing modules to be loaded into custom kernel RUN setsebool -P domain_kernel_load_modules on +COPY etc/environment /etc/environment + RUN rm -rf /tmp/* /var/* && mkdir -p /var/tmp && chmod -R 1777 /var/tmp && \ bootc container lint diff --git a/etc/environment b/etc/environment index 8142deb..70db5ae 100644 --- a/etc/environment +++ b/etc/environment @@ -5,7 +5,7 @@ QT_QPA_PLATFORM=wayland # Nvidia: #__NV_PRIME_RENDER_OFFLOAD=1 -__GLX_VENDOR_LIBRARY_NAME=nvidia +#__GLX_VENDOR_LIBRARY_NAME=nvidia ELECTRON_OZONE_PLATFORM_HINT=wayland