Skip to content

Commit 6ad07f2

Browse files
committed
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>
1 parent 859154b commit 6ad07f2

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

Dockerfile

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -124,4 +124,4 @@ FROM scratch AS plugins
124124
COPY --from=build-plugins /out .
125125

126126
FROM scratch AS binary
127-
COPY --from=build /out .
127+
COPY --from=build /out/docker /docker

0 commit comments

Comments
 (0)