We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
2 parents b999247 + 70da3dd commit 664c2b4Copy full SHA for 664c2b4
frontend/dockerfile/docs/reference.md
@@ -1404,7 +1404,9 @@ ADD --keep-git-dir=true https://github.com/moby/buildkit.git#v0.10.1 /buildkit
1404
ADD [--checksum=<hash>] <src> ... <dir>
1405
```
1406
1407
-The `--checksum` flag lets you verify the checksum of a remote resource:
+The `--checksum` flag lets you verify the checksum of a remote resource. The
1408
+checksum is formatted as `<algorithm>:<hash>`. The supported algorithms are
1409
+`sha256`, `sha384`, and `sha512`.
1410
1411
```dockerfile
1412
ADD --checksum=sha256:24454f830cdb571e2c4ad15481119c43b3cafd48dd869a9b2945d1036d1dc68d https://mirrors.edge.kernel.org/pub/linux/kernel/Historic/linux-0.01.tar.gz /
0 commit comments