mirror of https://github.com/docker/cli.git
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:
parent
859154b94c
commit
6ad07f2a4b
|
@ -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
|
||||||
|
|
Loading…
Reference in New Issue