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

Opening in vscode devcontainer takes a long time due to large home folder #31

Open
martinkunkel2 opened this issue Dec 3, 2024 · 0 comments

Comments

@martinkunkel2
Copy link

Background:
Vscode/devcontainer framework is executing a user mapping, so that the uid of the ebcl user in the container matches the uid on the host. This also updates the permissions of the home folder: https://github.com/devcontainers/cli/blob/7178cebfa88e070439903fd975b7602e7b3f6dc7/scripts/updateUID.Dockerfile#L31

On my machine this takes about 1 minute. I think reason is that it creates an additional yocto layer of about 1.5GB, which is the size of the home folder.

Possible solution: remove the rust toolchain or move the rust toolchain to some other place in the container.

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