Hacky fix for bwrap execution inside the Debian container running under the NVIDIA Docker runtime

Ref: https://github.com/flatpak/flatpak/wiki/User-namespace-requirements
This commit is contained in:
Josh.5
2023-07-10 18:03:36 +12:00
committed by Josh Sunnex
parent 26b775f66e
commit 8da0bd023d
4 changed files with 15 additions and 1 deletions

View File

@@ -310,6 +310,7 @@ RUN \
echo "**** Configure flatpak ****" \
&& chmod u+s /usr/bin/bwrap \
&& flatpak remote-add flathub https://flathub.org/repo/flathub.flatpakrepo \
&& dpkg-statoverride --update --add root root 0755 /usr/bin/bwrap \
&& \
echo "**** Section cleanup ****" \
&& apt-get clean autoclean -y \