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
|`id`| Optional ID to identify separate/different caches. Defaults to value of `target`. |
700
-
|`target`[^1]| Mount path. |
701
-
|`ro`,`readonly`| Read-only if set. |
702
-
|`sharing`| One of `shared`, `private`, or `locked`. Defaults to `shared`. A `shared` cache mount can be used concurrently by multiple writers. `private` creates a new mount if there are multiple writers. `locked` pauses the second writer until the first one releases the mount. |
703
-
|`from`| Build stage to use as a base of the cache mount. Defaults to empty directory. |
704
-
|`source`| Subpath in the `from` to mount. Defaults to the root of the `from`. |
705
-
|`mode`| File mode for new cache directory in octal. Default `0755`. |
706
-
|`uid`| User ID for new cache directory. Default `0`. |
707
-
|`gid`| Group ID for new cache directory. Default `0`. |
|`id`| Optional ID to identify separate/different caches. Defaults to value of `target`. |
700
+
|`target`, `dst`, `destination`[^1]| Mount path. |
701
+
|`ro`,`readonly`| Read-only if set. |
702
+
|`sharing`| One of `shared`, `private`, or `locked`. Defaults to `shared`. A `shared` cache mount can be used concurrently by multiple writers. `private` creates a new mount if there are multiple writers. `locked` pauses the second writer until the first one releases the mount. |
703
+
|`from`| Build stage to use as a base of the cache mount. Defaults to empty directory. |
704
+
|`source`| Subpath in the `from` to mount. Defaults to the root of the `from`. |
705
+
|`mode`| File mode for new cache directory in octal. Default `0755`. |
706
+
|`uid`| User ID for new cache directory. Default `0`. |
707
+
|`gid`| Group ID for new cache directory. Default `0`. |
708
708
709
709
Contents of the cache directories persists between builder invocations without
710
710
invalidating the instruction cache. Cache mounts should only be used for better
@@ -743,24 +743,24 @@ case.
743
743
744
744
This mount type allows mounting `tmpfs` in the build container.
0 commit comments