diff --git a/.scripts/entrypoint.sh b/.scripts/entrypoint.sh index 91e1e49c..e25231fd 100644 --- a/.scripts/entrypoint.sh +++ b/.scripts/entrypoint.sh @@ -60,6 +60,9 @@ sudo ln -snf /dev/ptmx /dev/tty7 # Start DBus without systemd sudo /etc/init.d/dbus start +# Install Proton-GE for this user +netris-proton -i + # Install NVIDIA userspace driver components including X graphic libraries if ! command -v nvidia-xconfig &>/dev/null; then # Driver version is provided by the kernel through the container toolkit diff --git a/server.Dockerfile b/server.Dockerfile index ab8e308e..7f3e63d2 100644 --- a/server.Dockerfile +++ b/server.Dockerfile @@ -32,9 +32,8 @@ RUN mkdir -pm755 /etc/apt/keyrings && curl -fsSL -o /etc/apt/keyrings/winehq-arc && curl -fsSL -o /usr/share/bash-completion/completions/winetricks "https://raw.githubusercontent.com/Winetricks/winetricks/master/src/winetricks.bash-completion" #Install Proton -COPY .scripts/proton /usr/bin/netris/ -RUN chmod +x /usr/bin/netris/proton \ - && /usr/bin/netris/proton -i +COPY .scripts/proton /usr/bin/netris-proton +RUN chmod 755 /usr/bin/netris-proton ARG USERNAME=netris \ PUID=1000 \