feat: migrate all Docker images to DHI Alpine base#84
Open
adamsaimi wants to merge 2 commits into
Open
Conversation
- Switch backend, code_reviewer, and frontend to dhi.io images
- Use Alpine variants for smaller attack surface and fewer CVEs
- backend: builder on 3.14-alpine-dev, runtime on 3.14-alpine-dev (needs shell)
- code_reviewer: replace nodesource+bun with dedicated node-installer stage; claude binary is standalone so node runtime not needed at runtime (-330MB)
- frontend: builder on node:24-alpine3.23-dev, runtime on node:24-alpine3.23 (distroless)
- Add DHI registry login step to release-please workflow
- Fix GITHUB_ENABLED not being forwarded to backend container in docker-compose
- Fix GITHUB_APP_PRIVATE_KEY_PATH to use ${VAR:-default} pattern consistently
Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
Member
|
nice |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Summary
python:3.14-slim/node:24-alpinetodhi.ioAlpine-based imagesnode-installerstage instead; claude is a standalone binary so node runtime is not needed at runtime, saving ~330 MB (999 MB → 651 MB)GITHUB_ENABLEDnot being forwarded into the backend container in docker-composeGITHUB_APP_PRIVATE_KEY_PATHenv var to use${VAR:-default}pattern consistently with other varsTest plan
docker compose --profile all up -dstarts all services healthy/health🤖 Generated with Claude Code