You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
devcontainer build chooses to use a different --build-context on each build, forcing Docker to build from scratch each time, even if only a single feature was modified.
I discovered this while working on a custom feature that depended on multiple time-consuming-to-build features, wasting several hours waiting on builds trying to figure out why no steps of the build were being cached.
This makes devcontainers impractical for me, since I need to develop quite a few features to support the work I'm doing. If each single character change to an install script causes an uncached build of the entire container, developing features becomes infeasible.
devcontainer build
chooses to use a different--build-context
on each build, forcingDocker
to build from scratch each time, even if only a single feature was modified.I discovered this while working on a custom feature that depended on multiple time-consuming-to-build features, wasting several hours waiting on builds trying to figure out why no steps of the build were being cached.
This makes devcontainers impractical for me, since I need to develop quite a few features to support the work I'm doing. If each single character change to an install script causes an uncached build of the entire container, developing features becomes infeasible.
cli/src/spec-node/utils.ts
Line 432 in 0a3e2dc
What happens if we just remove
Date().now
from tmpFolder name?The text was updated successfully, but these errors were encountered: