From 8135787e644b42b2e90651ec70b899f89fc834ec Mon Sep 17 00:00:00 2001 From: David Karlsson <35727626+dvdksn@users.noreply.github.com> Date: Tue, 26 Nov 2024 07:48:00 +0100 Subject: [PATCH] docs: add --checksum only supports sha256 Signed-off-by: David Karlsson <35727626+dvdksn@users.noreply.github.com> --- frontend/dockerfile/docs/reference.md | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/frontend/dockerfile/docs/reference.md b/frontend/dockerfile/docs/reference.md index a5749ca533cc..eb4c93688c7c 100644 --- a/frontend/dockerfile/docs/reference.md +++ b/frontend/dockerfile/docs/reference.md @@ -1476,8 +1476,8 @@ ADD [--checksum=] ... ``` The `--checksum` flag lets you verify the checksum of a remote resource. The -checksum is formatted as `:`. The supported algorithms are -`sha256`, `sha384`, and `sha512`. +checksum is formatted as `sha256:`. SHA-256 is the only supported hash +algorithm. ```dockerfile ADD --checksum=sha256:24454f830cdb571e2c4ad15481119c43b3cafd48dd869a9b2945d1036d1dc68d https://mirrors.edge.kernel.org/pub/linux/kernel/Historic/linux-0.01.tar.gz /