From 1609916f2ce178d6368727a89b46e28e6893609f Mon Sep 17 00:00:00 2001 From: Sebastiaan van Stijn Date: Fri, 12 Jan 2024 22:39:30 +0100 Subject: [PATCH] Revert "Dockerfile/binary: Output the binary directly" Looks like this change caused docker-ce-packaging to fail; dest=$PWD/build/mac; cd /home/ubuntu/workspace/release-packaging_ce-nightly/packaging/src/github.com/docker/cli/build && for platform in *; do \ arch=$(echo $platform | cut -d_ -f2); \ mkdir -p $dest/$arch/docker; \ cp $platform/docker-darwin-* $dest/$arch/docker/docker && \ tar -C $dest/$arch -c -z -f $dest/$arch/docker-25.0.0-rc.2.tgz docker; \ done cp: cannot stat 'darwin_amd64/docker-darwin-*': No such file or directory cp: cannot stat 'darwin_arm64/docker-darwin-*': No such file or directory This reverts commit 6ad07f2a4b6a1e6fb77cb94820def43ea894c4af. Signed-off-by: Sebastiaan van Stijn --- Dockerfile | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Dockerfile b/Dockerfile index 830d2b2f74..ac9a9ad6b4 100644 --- a/Dockerfile +++ b/Dockerfile @@ -124,4 +124,4 @@ FROM scratch AS plugins COPY --from=build-plugins /out . FROM scratch AS binary -COPY --from=build /out/docker /docker +COPY --from=build /out .