From 9177ac322afe2371376591094116be59f3fef054 Mon Sep 17 00:00:00 2001 From: Brian Goff Date: Mon, 30 Dec 2019 13:20:11 -0800 Subject: [PATCH] Fix output targets getting double nested. Targets are going to bundles/bundles instead of just bundles/. This is because there is `bundles` in the actual built binaries as well as the output dir being set to bundles. Signed-off-by: Brian Goff --- Dockerfile | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/Dockerfile b/Dockerfile index c163c95682..436fcefb55 100644 --- a/Dockerfile +++ b/Dockerfile @@ -353,10 +353,10 @@ FROM scratch AS binary COPY --from=build-binary /build/bundles/ / FROM scratch AS dynbinary -COPY --from=build-dynbinary /build/ / +COPY --from=build-dynbinary /build/bundles/ / FROM scratch AS cross -COPY --from=build-cross /build/ / +COPY --from=build-cross /build/bundles/ / FROM dev AS final COPY . /go/src/github.com/docker/docker