Dockerfile/binary: Output the binary directly

`scripts/make/binary` produces `docker` file that is a symlink to a
`docker-<platform>` file.
Make the `binary` Dockerfile target produce an image that only contains
the `docker` binary and not the symlink.

Signed-off-by: Paweł Gronowski <pawel.gronowski@docker.com>
This commit is contained in:
Paweł Gronowski 2024-01-03 11:40:04 +01:00
parent 859154b94c
commit 6ad07f2a4b
No known key found for this signature in database
GPG Key ID: B85EFCFE26DEF92A
1 changed files with 1 additions and 1 deletions

View File

@ -124,4 +124,4 @@ FROM scratch AS plugins
COPY --from=build-plugins /out . COPY --from=build-plugins /out .
FROM scratch AS binary FROM scratch AS binary
COPY --from=build /out . COPY --from=build /out/docker /docker