Skip to content

[1.0] fix(ci): enable BuildKit for Docker builds (#505) - #512

Merged
Jan-Kazlouski-elastic merged 1 commit into
1.0from
backport/1.0/pr-505
Oct 5, 2026
Merged

Jan-Kazlouski-elastic merged 1 commit into
1.0from
backport/1.0/pr-505

Conversation

@github-actions

@github-actions github-actions Bot commented Oct 5, 2026

Copy link
Copy Markdown

Backports the following commits to 1.0:

## Summary

`COPY --chmod=...` in `Dockerfile.wolfi` requires BuildKit, but
`build-docker.sh` was calling plain `docker build` without enabling it,
causing every build to fail at step 15:

```
the --chmod option requires BuildKit. Refer to https://docs.docker.com/go/buildkit/
```

## Fix

Prefix the `docker build` call with `DOCKER_BUILDKIT=1`.

## Verification

Confirmed working in build
[#80](https://buildkite.com/elastic/crawler-docker-build-publish/builds/80)
by setting the env var manually at trigger time.

🤖 Generated with [Claude Code](https://claude.com/claude-code)

Co-authored-by: Claude Sonnet 4.6 <noreply@anthropic.com>
@Jan-Kazlouski-elastic
Jan-Kazlouski-elastic merged commit 7fca5da into 1.0 Oct 5, 2026
2 checks passed
@Jan-Kazlouski-elastic
Jan-Kazlouski-elastic deleted the backport/1.0/pr-505 branch October 5, 2026 15:59
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants