Skip to content

Commit 6b01ad9

Browse files
committed
docs: add link to ADD --unpack flag and order sections chronologically
Signed-off-by: David Karlsson <[email protected]>
1 parent 202e28f commit 6b01ad9

File tree

1 file changed

+5
-4
lines changed

1 file changed

+5
-4
lines changed

frontend/dockerfile/docs/reference.md

Lines changed: 5 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1328,6 +1328,7 @@ The available `[OPTIONS]` are:
13281328
| [`--chown`](#add---chown---chmod) | |
13291329
| [`--chmod`](#add---chown---chmod) | 1.2 |
13301330
| [`--link`](#add---link) | 1.4 |
1331+
| [`--unpack`](#add---unpack) | 1.17 |
13311332
| [`--exclude`](#add---exclude) | 1.19 |
13321333

13331334
The `ADD` instruction copies new files or directories from `<src>` and adds
@@ -1593,10 +1594,6 @@ See [`COPY --chown --chmod`](#copy---chown---chmod).
15931594

15941595
See [`COPY --link`](#copy---link).
15951596

1596-
### ADD --exclude
1597-
1598-
See [`COPY --exclude`](#copy---exclude).
1599-
16001597
### ADD --unpack
16011598

16021599
```dockerfile
@@ -1617,6 +1614,10 @@ ADD --unpack=true https://example.com/archive.tar.gz /download
16171614
ADD --unpack=false my-archive.tar.gz .
16181615
```
16191616

1617+
### ADD --exclude
1618+
1619+
See [`COPY --exclude`](#copy---exclude).
1620+
16201621
## COPY
16211622

16221623
COPY has two forms.

0 commit comments

Comments
 (0)