@@ -728,7 +728,7 @@ This can be used to:
728
728
The supported mount types are:
729
729
730
730
| Type | Description |
731
- | ---------------------------------------- | --------------------------------------------------------------------------------------------------------- |
731
+ | ---------------------------------------- | ------------------------------------------------------------------------------------------------------------------------ |
732
732
| [ ` bind ` ] ( #run---mounttypebind ) (default) | Bind-mount context directories (read-only). |
733
733
| [ ` cache ` ] ( #run---mounttypecache ) | Mount a temporary directory to cache directories for compilers and package managers. |
734
734
| [ ` tmpfs ` ] ( #run---mounttypetmpfs ) | Mount a ` tmpfs ` in the build container. |
@@ -741,7 +741,7 @@ This mount type allows binding files or directories to the build container. A
741
741
bind mount is read-only by default.
742
742
743
743
| Option | Description |
744
- | ---------------- | ---------------------------------------------------------------------------------------------- |
744
+ | ---------------------------------- | ---------------------------------------------------------------------------------------------- |
745
745
| ` target ` , ` dst ` , ` destination ` [ ^ 1 ] | Mount path. |
746
746
| ` source ` | Source path in the ` from ` . Defaults to the root of the ` from ` . |
747
747
| ` from ` | Build stage, context, or image name for the root of the source. Defaults to the build context. |
@@ -753,7 +753,7 @@ This mount type allows the build container to cache directories for compilers
753
753
and package managers.
754
754
755
755
| Option | Description |
756
- | --------------- | -------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- |
756
+ | ---------------------------------- | -------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- |
757
757
| ` id ` | Optional ID to identify separate/different caches. Defaults to value of ` target ` . |
758
758
| ` target ` , ` dst ` , ` destination ` [ ^ 1 ] | Mount path. |
759
759
| ` ro ` ,` readonly ` | Read-only if set. |
@@ -802,7 +802,7 @@ case.
802
802
This mount type allows mounting ` tmpfs ` in the build container.
803
803
804
804
| Option | Description |
805
- | ------------ | ----------------------------------------------------- |
805
+ | ---------------------------------- | ----------------------------------------------------- |
806
806
| ` target ` , ` dst ` , ` destination ` [ ^ 1 ] | Mount path. |
807
807
| ` size ` | Specify an upper limit on the size of the filesystem. |
808
808
@@ -863,7 +863,7 @@ This mount type allows the build container to access SSH keys via SSH agents,
863
863
with support for passphrases.
864
864
865
865
| Option | Description |
866
- | ---------- | ---------------------------------------------------------------------------------------------- |
866
+ | ------------------------------ | ---------------------------------------------------------------------------------------------- |
867
867
| ` id ` | ID of SSH agent socket or key. Defaults to "default". |
868
868
| ` target ` , ` dst ` , ` destination ` | SSH agent socket path. Defaults to ` /run/buildkit/ssh_agent.${N} ` . |
869
869
| ` required ` | If set to ` true ` , the instruction errors out when the key is unavailable. Defaults to ` false ` . |
@@ -2310,7 +2310,7 @@ Therefore, to avoid unintended operations in unknown directories, it's best prac
2310
2310
## ARG
2311
2311
2312
2312
``` dockerfile
2313
- ARG <name>[=<default value>]
2313
+ ARG <name>[=<default value>] ...
2314
2314
```
2315
2315
2316
2316
The ` ARG ` instruction defines a variable that users can pass at build-time to
0 commit comments