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 <cpuguy83@gmail.com>
This commit is contained in:
Brian Goff 2019-12-30 13:20:11 -08:00
parent bbcabf69c8
commit 9177ac322a

View file

@ -353,10 +353,10 @@ FROM scratch AS binary
COPY --from=build-binary /build/bundles/ / COPY --from=build-binary /build/bundles/ /
FROM scratch AS dynbinary FROM scratch AS dynbinary
COPY --from=build-dynbinary /build/ / COPY --from=build-dynbinary /build/bundles/ /
FROM scratch AS cross FROM scratch AS cross
COPY --from=build-cross /build/ / COPY --from=build-cross /build/bundles/ /
FROM dev AS final FROM dev AS final
COPY . /go/src/github.com/docker/docker COPY . /go/src/github.com/docker/docker