-
Notifications
You must be signed in to change notification settings - Fork 285
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
Allow rebuild container without cache #2200
Comments
I too would like this feature. I sometimes have issues in nodejs where an issue with docker itselfs requires me to rebuild the entire image. But I can't. My only workaround is to change the source image from |
do an echo "something" run command when you want to rebuild, ugly, but useful |
yes I think especially for devcontainers where we want always with the latest version the --no-chache option should be possible. I would be happy with a buildArgs in the devcontainer.json |
Work around: copy the |
Is there any plan for this? After some time and issues i stumbled upon this issue and its frustrating that i can not truly rebuild/clean (with --no-cache). Manualy deleting an image only works sometimes but when you are working in a bigger context; this leads often to "delete all images because i dont now comfortably what layer is used by cache". |
Maintainers, this sort of thing would be trivial if this extension was open-sourced, you'd get a PR in no time flat. Please consider open sourcing this extension! |
Sometimes I have a Dockerfile that installs software downloaded form Internet. If download fails (cause a network failure or something), the image is build anyway.
The problem is that I can't force VSCode to rebuild the image (so, once the network issue is fixed, the software can be downloaded and installed) using Remote-Containers: Rebuild Container as it always uses cache.
Please provide a Remote-Containers: Rebuild Container without Cache, or similar command, containing the --no-cache option.
The text was updated successfully, but these errors were encountered: