game-ci / docker

Series of CI-specialised docker images for Unity.
https://hub.docker.com/u/unityci
MIT License
392 stars 121 forks source link

Add a non-root user #232

Closed cloudymax closed 7 months ago

cloudymax commented 7 months ago

Changes

adds a non root user gameci to the docker images.

This resolves an issue where Unity Editor will prompt the user with a confirmation screen to allow root to run Unity. This doesn't affect jobs running with batch-mode, but it prevents the screen from being able to be recorded or viewed during GPU-enabled runs.

github-actions[bot] commented 7 months ago

Cat Gif