DEV Community

Discussion on: How to add your dotfiles to GitHub Codespaces

Collapse
 
nikiforovall profile image
Oleksii Nikiforov • Edited

Thank you for sharing. I like devcontainers and actively use them (non-production).

From my experience, the downside of using dotfiles inside devcontainer is that dependencies are copied for every project and it takes time to install dotfiles inside devcontainer on the first run. This is why I took a different approach and created a special folder in my dotfiles repository just for devcontainers.
github.com/NikiforovAll/dotfiles/t.... Installation of tools is moved out to base image, here is my collection of devcontainers (github.com/NikiforovAll/dev-contai...) and here is how I use it all together github.com/NikiforovAll/whats-new-... to try .NET 6.

Sorry if I push my stuff too much. I just wanted to share it we the people who may be interested. Thanks 👍