File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -274,6 +274,17 @@ build:
274274 - "com.example.label-with-empty-value"
275275` ` `
276276
277+ # ## no_cache
278+
279+ ` no_cache` disables image builder cache and enforce a full rebuild from source for all image layers. This only
280+ applies to layers declared in the Dockerfile, referenced images COULD be retrieved from local image store whenever tag
281+ has been updated on registry (see # pull).
282+
283+ # ## pull
284+
285+ ` pull` require the image builder to pull referenced images (`FROM` Dockerfile directive), even if those are already
286+ available in the local image store.
287+
277288# ## shm_size
278289
279290` shm_size` set the size of the shared memory (`/dev/shm` partition on Linux) allocated for building Docker image. Specify
Original file line number Diff line number Diff line change 9595 "labels" : {"$ref" : " #/definitions/list_or_dict" },
9696 "cache_from" : {"type" : " array" , "items" : {"type" : " string" }},
9797 "cache_to" : {"type" : " array" , "items" : {"type" : " string" }},
98+ "no_cache" : {"type" : " boolean" },
9899 "network" : {"type" : " string" },
100+ "pull" : {"type" : " boolean" },
99101 "target" : {"type" : " string" },
100102 "shm_size" : {"type" : [" integer" , " string" ]},
101103 "extra_hosts" : {"$ref" : " #/definitions/list_or_dict" },
You can’t perform that action at this time.
0 commit comments