mirror of
https://github.com/moby/buildkit.git
synced 2026-08-09 17:18:11 +00:00
The error appears in ``` RUN go build -ldflags "$(cat .tmp/ldflags)" -o /buildctl.exe ./cmd/buildctl ``` and ``` RUN go build -ldflags "$(cat .tmp/ldflags)" -o /buildkitd.exe ./cmd/buildkitd ``` We ignore ".tmp" by ".dockerignore" file, so `COPY . .` does not copy ".tmp". This commit changes the image for "cross-windows" and removes not needed instructions which are done by "buildkit-base". This is follow up of https://github.com/moby/buildkit/pull/398 Signed-off-by: Yuichiro Kaneko <spiketeika@gmail.com>