|
638 | 638 |
|
639 | 639 | The available `[OPTIONS]` for the `RUN` instruction are:
|
640 | 640 |
|
641 |
| -- [`--mount`](#run---mount) |
642 |
| -- [`--network`](#run---network) |
643 |
| -- [`--security`](#run---security) |
| 641 | +| Option | Minimum Dockerfile version | |
| 642 | +| ------------------------------- | -------------------------- | |
| 643 | +| [`--mount`](#run---mount) | 1.2 | |
| 644 | +| [`--network`](#run---network) | 1.3 | |
| 645 | +| [`--security`](#run---security) | 1.1.2-labs | |
644 | 646 |
|
645 | 647 | ### Cache invalidation for RUN instructions
|
646 | 648 |
|
@@ -1150,12 +1152,14 @@ ADD [OPTIONS] ["<src>", ... "<dest>"]
|
1150 | 1152 |
|
1151 | 1153 | The available `[OPTIONS]` are:
|
1152 | 1154 |
|
1153 |
| -- [`--keep-git-dir`](#add---keep-git-dir) |
1154 |
| -- [`--checksum`](#add---checksum) |
1155 |
| -- [`--chown`](#add---chown---chmod) |
1156 |
| -- [`--chmod`](#add---chown---chmod) |
1157 |
| -- [`--link`](#add---link) |
1158 |
| -- [`--exclude`](#add---exclude) |
| 1155 | +| Option | Minimum Dockerfile version | |
| 1156 | +| --------------------------------------- | -------------------------- | |
| 1157 | +| [`--keep-git-dir`](#add---keep-git-dir) | 1.1 | |
| 1158 | +| [`--checksum`](#add---checksum) | 1.6 | |
| 1159 | +| [`--chown`](#add---chown---chmod) | | |
| 1160 | +| [`--chmod`](#add---chown---chmod) | 1.2 | |
| 1161 | +| [`--link`](#add---link) | 1.4 | |
| 1162 | +| [`--exclude`](#add---exclude) | 1.7 | |
1159 | 1163 |
|
1160 | 1164 | The `ADD` instruction copies new files or directories from `<src>` and adds
|
1161 | 1165 | them to the filesystem of the image at the path `<dest>`. Files and directories
|
@@ -1434,12 +1438,14 @@ COPY [OPTIONS] ["<src>", ... "<dest>"]
|
1434 | 1438 |
|
1435 | 1439 | The available `[OPTIONS]` are:
|
1436 | 1440 |
|
1437 |
| -- [`--from`](#copy---from) |
1438 |
| -- [`--chown`](#copy---chown---chmod) |
1439 |
| -- [`--chmod`](#copy---chown---chmod) |
1440 |
| -- [`--link`](#copy---link) |
1441 |
| -- [`--parents`](#copy---parents) |
1442 |
| -- [`--exclude`](#copy---exclude) |
| 1441 | +| Option | Minimum Dockerfile version | |
| 1442 | +| ---------------------------------- | -------------------------- | |
| 1443 | +| [`--from`](#copy---from) | | |
| 1444 | +| [`--chown`](#copy---chown---chmod) | | |
| 1445 | +| [`--chmod`](#copy---chown---chmod) | 1.2 | |
| 1446 | +| [`--link`](#copy---link) | 1.4 | |
| 1447 | +| [`--parents`](#copy---parents) | 1.7 | |
| 1448 | +| [`--exclude`](#copy---exclude) | 1.7 | |
1443 | 1449 |
|
1444 | 1450 | The `COPY` instruction copies new files or directories from `<src>` and adds
|
1445 | 1451 | them to the filesystem of the image at the path `<dest>`. Files and directories
|
|
0 commit comments