I tried using your playwright dev container feature, but it didn't work as expected due to the fact that it installed the browsers within /root/.cache/ms-playwright instead of within /home/vscode/.cache/ms-playwright. The install.sh scripts within devcontainer features often have a bunch of boilerplate to try and determine the appropriate non-root user to install stuff under (typically the vscode user). I think you need to add that boilerplate to your feature as well
I tried using your playwright dev container feature, but it didn't work as expected due to the fact that it installed the browsers within /root/.cache/ms-playwright instead of within /home/vscode/.cache/ms-playwright. The install.sh scripts within devcontainer features often have a bunch of boilerplate to try and determine the appropriate non-root user to install stuff under (typically the vscode user). I think you need to add that boilerplate to your feature as well