-
-
Notifications
You must be signed in to change notification settings - Fork 282
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
Add first attempt at devcontainer #1025
Conversation
Another question, I think we need to find a way to pull in all the deps including the binaries? |
Those should all be included already. Are there additional deps that brew includes that are missing? Or did you mean to read that brew tasks file? |
If they're included that's fine then, I wasn't seeing where all those deps where being pulled in from in the config file. |
The assorted included features handle that. It is non obvious though to someone who isn't familiar on where to look to find the information. I'll add some comments to hopefully help everyone. |
I haven't forgot about this, I'll pull these changes in and test it out soon. |
I wish there was a way renovate could work on those deps or to always have the latest versions installed, I can see myself forgetting to update them. |
I've been playing around with setting up a devcontainer for my repo today, without being aware of this PR. I saw there is support for providing a custom Dockerfile for it, which is the route I decided to take since I already had one for my repo. My question is, could we go for an approach similar to this https://github.com/mirceanton/home-ops/blob/main/Dockerfile and maybe swap the base image for the one specified in the devcontainer.json? Renovate can handle updating the version tags in this Dockerfile as it has been doing that for my repo. |
@mirceanton I am not opposed to the idea, however the current method used here it a bit more lightweight, (probably) faster to start and can always pull the latest deps without having me or renovate manage it. |
@onedr0p @mirceanton I am not completely opposed to a custom docker container but I think devcontainer features are easier for new people to make changes. For instance I don't use cilium or cloudflared in my cluster and I am working towards dropping age/sops. With devcontainer features adding and discovering new ones is just looking at the Microsoft hosted list vs in a custom container you need to figure out the setup and configuration yourself. Additionally features should be oci artifacts which I think allows the container layer to be cached and thus speedup container rebuilds. |
Changed a lot from my setup but I think I got all the current recommended client deps. Could be a default devcontainer that supports the initial bootstrap or maybe it makes more sense as an addon?