mirror of https://github.com/docker/cli.git
Dockerfile: build binary if no target specified
Signed-off-by: CrazyMax <crazy-max@users.noreply.github.com>
This commit is contained in:
parent
f5d698a331
commit
3ce95c7af0
|
@ -125,8 +125,8 @@ CMD ./scripts/test/e2e/entry
|
||||||
FROM build-base-${BASE_VARIANT} AS dev
|
FROM build-base-${BASE_VARIANT} AS dev
|
||||||
COPY . .
|
COPY . .
|
||||||
|
|
||||||
FROM scratch AS binary
|
|
||||||
COPY --from=build /out .
|
|
||||||
|
|
||||||
FROM scratch AS plugins
|
FROM scratch AS plugins
|
||||||
COPY --from=build-plugins /out .
|
COPY --from=build-plugins /out .
|
||||||
|
|
||||||
|
FROM scratch AS binary
|
||||||
|
COPY --from=build /out .
|
||||||
|
|
Loading…
Reference in New Issue