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
By default the definition os.#Container cache the command by using always field.
// If true, the command is never cached.
// (false by default).
always: true | *false
This naming seems pretty confusing. It has been named this way to avoid confusion with cache mounts which are different.
We went for something literal aka “always run”.
solomon: Caching systems in buildkit (run caching and cache mounts) are actually more related than it first appears. So maybe there is a way to reconcile them in our API
We should rename it more explicitly. cmdCache for instance ?
Not tracked, this is a conversation a bit in the air about the way commands are composed in docker.#Run being in need of a redesign. Nothing concrete has been drafted yet.
Activity
[-]DX improvement for os.#Container[/-][+]Confusing API for buildkit caching[/+]shykes commentedon Mar 27, 2022
@helderco one more for my list of "inputs to the command composition redesign" topic :)
mircubed commentedon Jun 1, 2022
@helderco is there an update for this issue, or is it being tracked elsewhere in a larger issue?
helderco commentedon Jun 16, 2022
Not tracked, this is a conversation a bit in the air about the way commands are composed in
docker.#Runbeing in need of a redesign. Nothing concrete has been drafted yet.helderco commentedon Dec 22, 2022
Closing since the 0.2 CUE API is frozen, in favor of the GraphQL API.