Skip to content

build(docker): Add debug image support via IMAGE_TAG arg#369

Merged
jan-auer merged 1 commit intomainfrom
build/debug-image-support
Mar 12, 2026
Merged

build(docker): Add debug image support via IMAGE_TAG arg#369
jan-auer merged 1 commit intomainfrom
build/debug-image-support

Conversation

@jan-auer
Copy link
Member

Parameterize the distroless base image tag in the Dockerfile so build-cross.sh can switch to the debug-nonroot variant, which includes a busybox shell for debugging.

Usage: DEBUG_IMAGE=1 ./scripts/build-cross.sh

Accepts common truthy values (true, 1, yes, on). Defaults to the standard nonroot image when unset.

Parameterize the distroless base image tag in the Dockerfile so
build-cross.sh can switch to the debug-nonroot variant. Set
DEBUG_IMAGE=1 to get a shell-enabled image for debugging.

Co-Authored-By: Claude <noreply@anthropic.com>
@jan-auer jan-auer marked this pull request as ready for review March 12, 2026 10:22
@jan-auer jan-auer requested a review from a team as a code owner March 12, 2026 10:22
@jan-auer jan-auer merged commit bb175a5 into main Mar 12, 2026
21 checks passed
@jan-auer jan-auer deleted the build/debug-image-support branch March 12, 2026 10:28
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