From 6ad07f2a4b6a1e6fb77cb94820def43ea894c4af Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Pawe=C5=82=20Gronowski?= Date: Wed, 3 Jan 2024 11:40:04 +0100 Subject: [PATCH] Dockerfile/binary: Output the binary directly MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit `scripts/make/binary` produces `docker` file that is a symlink to a `docker-` file. Make the `binary` Dockerfile target produce an image that only contains the `docker` binary and not the symlink. Signed-off-by: Paweł Gronowski --- Dockerfile | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Dockerfile b/Dockerfile index 95479cdc50..f5b4eaf77b 100644 --- a/Dockerfile +++ b/Dockerfile @@ -124,4 +124,4 @@ FROM scratch AS plugins COPY --from=build-plugins /out . FROM scratch AS binary -COPY --from=build /out . +COPY --from=build /out/docker /docker