Commit 09541b5
committed
static: fix location of Windows binary
Not sure why, but looks like the path used `<arch>-daemon` (instead of just `<arch>`).
However, it's not consistent either, because `containerutility.exe` is in `<arch>`?
When running:
make REF=master checkout
make REF=master DOCKER_BUILD_PKGS=cross-win static
The build failed:
mkdir -p build/win/amd64/docker
cp /Users/sebastiaan/go/src/github.com/docker/docker-ce-packaging/src/github.com/docker/cli/build/docker-windows-amd64.exe build/win/amd64/docker/docker.exe
cp /Users/sebastiaan/go/src/github.com/docker/docker-ce-packaging/src/github.com/docker/docker/bundles/cross/windows/amd64/dockerd-0.0.0-20210629140245-4a6fe51.exe build/win/amd64/docker/dockerd.exe
cp: /Users/sebastiaan/go/src/github.com/docker/docker-ce-packaging/src/github.com/docker/docker/bundles/cross/windows/amd64/dockerd-0.0.0-20210629140245-4a6fe51.exe: No such file or directory
make[1]: *** [cross-win] Error 1
make: *** [static] Error 2
This is what's in bundles:
tree /Users/sebastiaan/go/src/github.com/docker/docker-ce-packaging/src/github.com/docker/docker/bundles/
/Users/sebastiaan/go/src/github.com/docker/docker-ce-packaging/src/github.com/docker/docker/bundles/
└── cross
└── windows
├── amd64
│ └── containerutility.exe
└── amd64-daemon
├── docker-proxy-0.0.0-20210629140245-4a6fe51.exe
├── docker-proxy-0.0.0-20210629140245-4a6fe51.exe.md5
├── docker-proxy-0.0.0-20210629140245-4a6fe51.exe.sha256
├── docker-proxy.exe -> docker-proxy-0.0.0-20210629140245-4a6fe51.exe
├── dockerd-0.0.0-20210629140245-4a6fe51.exe
├── dockerd-0.0.0-20210629140245-4a6fe51.exe.md5
├── dockerd-0.0.0-20210629140245-4a6fe51.exe.sha256
└── dockerd.exe -> dockerd-0.0.0-20210629140245-4a6fe51.exe
Signed-off-by: Sebastiaan van Stijn <[email protected]>1 parent 7824214 commit 09541b5
1 file changed
Lines changed: 2 additions & 1 deletion
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
62 | 62 | | |
63 | 63 | | |
64 | 64 | | |
65 | | - | |
| 65 | + | |
| 66 | + | |
66 | 67 | | |
67 | 68 | | |
68 | 69 | | |
| |||
0 commit comments