Skip to content

Commit 8135787

Browse files
committed
docs: add --checksum only supports sha256
Signed-off-by: David Karlsson <[email protected]>
1 parent 95d190e commit 8135787

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

frontend/dockerfile/docs/reference.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1476,8 +1476,8 @@ ADD [--checksum=<hash>] <src> ... <dir>
14761476
```
14771477

14781478
The `--checksum` flag lets you verify the checksum of a remote resource. The
1479-
checksum is formatted as `<algorithm>:<hash>`. The supported algorithms are
1480-
`sha256`, `sha384`, and `sha512`.
1479+
checksum is formatted as `sha256:<hash>`. SHA-256 is the only supported hash
1480+
algorithm.
14811481

14821482
```dockerfile
14831483
ADD --checksum=sha256:24454f830cdb571e2c4ad15481119c43b3cafd48dd869a9b2945d1036d1dc68d https://mirrors.edge.kernel.org/pub/linux/kernel/Historic/linux-0.01.tar.gz /

0 commit comments

Comments
 (0)