Why devcontainers features are not cached? #459
ThePlenkov
started this conversation in
General
Replies: 0 comments
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
Hi I just noticed that working on any change in my devcontainer Dockerfile , features are always applied newly installing everything again and again, I find a very inefficient way.
So by saving time not to write a code in a Dockerfile ( like by manually installing som CLI ) in the end I pay with much more time rebuilding features every time.
Do we have a solution for that?
My advise is to change the sequence of the build. First we need to build a base image of a devcontianer with all features, and then use this image as a base in our dockerfile. Do you think is feasible? Thank you!
Beta Was this translation helpful? Give feedback.
All reactions