Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

How to test with browser (or is it at all possible) when using codespaces #12

Closed
bjorn-einar-bjartnes-4ss opened this issue Mar 2, 2023 · 2 comments

Comments

@bjorn-einar-bjartnes-4ss
Copy link
Collaborator

Investigate text based browser? Or the in-vs-code browser?

@bjorn-einar-bjartnes-4ss
Copy link
Collaborator Author

bjorn-einar-bjartnes-4ss commented Mar 11, 2023

https://github.com/fathyb/carbonyl
Had to install a few extras and to run with "--no-sandbox" flag
and install

apt install libnss3-dev libgdk-pixbuf2.0-dev libgtk-3-dev libxss-dev

can likely try to set it up without root to avoid the no-sandbox.

@bjorn-einar-bjartnes-4ss
Copy link
Collaborator Author

bjorn-einar-bjartnes-4ss commented Mar 15, 2023

Appearantly non-root users is not something that is supported out of the box, I assume that is because there are things that gets difficult. As any security issues with running this browser as root when talking to oneself is not really something to worry much about, I guess dotnet/dotnet-docker#1757 (comment)

Could change to node.js image and ditch .NET, but it is NDC and I think .NET would be prefferable to support .NET and run as root for now

OR change the image to something more basic and just install .NET later, which of course works...

dotnet/designs#271

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant