Skip to content

fix(ci): enable BuildKit for Docker builds - #505

Merged
erikcurrin-elastic merged 1 commit into
mainfrom
fix/enable-buildkit-in-docker-build
Sep 18, 2026
Merged

erikcurrin-elastic merged 1 commit into
mainfrom
fix/enable-buildkit-in-docker-build

Conversation

@erikcurrin-elastic

Copy link
Copy Markdown
Contributor

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 by setting the env var manually at trigger time.

🤖 Generated with Claude Code

@erikcurrin-elastic
erikcurrin-elastic requested a review from a team as a code owner September 18, 2026 19:46
COPY --chmod= in Dockerfile.wolfi requires BuildKit. Without
DOCKER_BUILDKIT=1 the build fails at step 15 with:
  the --chmod option requires BuildKit

Verified working in build #80 with the env var set manually.

Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>

@seanstory seanstory left a comment

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

rubberstamp

@erikcurrin-elastic
erikcurrin-elastic force-pushed the fix/enable-buildkit-in-docker-build branch from fe9b116 to 873daec Compare September 18, 2026 19:49
@erikcurrin-elastic
erikcurrin-elastic enabled auto-merge (squash) September 18, 2026 19:51
@erikcurrin-elastic
erikcurrin-elastic merged commit f79400e into main Sep 18, 2026
2 checks passed
@erikcurrin-elastic
erikcurrin-elastic deleted the fix/enable-buildkit-in-docker-build branch September 18, 2026 19:56
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants