Skip to content

Rewrite test-image Dockerfile as Alpine with Python 3.13#435

Merged
nitrobass24 merged 1 commit into
developfrom
chore/test-image-alpine
May 1, 2026
Merged

Rewrite test-image Dockerfile as Alpine with Python 3.13#435
nitrobass24 merged 1 commit into
developfrom
chore/test-image-alpine

Conversation

@nitrobass24
Copy link
Copy Markdown
Owner

Summary

  • Switch test-image from python:3.12-slim-bookworm (Debian) to python:3.13-alpine
  • Aligns test image with production Alpine base — no more OS divergence between test and prod
  • Replace apt-get with apk add --no-cache
  • Replace groupadd/useradd with Alpine addgroup/adduser
  • Same contract preserved: lftp, openssh-client, uv deps, non-root testuser, /app/python workdir

Test plan

  • make test-image builds successfully
  • make test runs unit tests in the Alpine container
  • CI passes (CI does not use this Dockerfile — it runs Python tests natively)

🤖 Generated with Claude Code

Switch from python:3.12-slim-bookworm (Debian) to python:3.13-alpine
so the test image matches the production Alpine base. Replace apt-get
with apk, groupadd/useradd with addgroup/adduser.

Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
@coderabbitai
Copy link
Copy Markdown

coderabbitai Bot commented May 1, 2026

Warning

Rate limit exceeded

@nitrobass24 has exceeded the limit for the number of commits that can be reviewed per hour. Please wait 27 minutes and 28 seconds before requesting another review.

To keep reviews running without waiting, you can enable usage-based add-on for your organization. This allows additional reviews beyond the hourly cap. Account admins can enable it under billing.

⌛ How to resolve this issue?

After the wait time has elapsed, a review can be triggered using the @coderabbitai review command as a PR comment. Alternatively, push new commits to this PR.

We recommend that you space out your commits to avoid hitting the rate limit.

🚦 How do rate limits work?

CodeRabbit enforces hourly rate limits for each developer per organization.

Our paid plans have higher rate limits than the trial, open-source and free plans. In all cases, we re-allow further reviews after a brief timeout.

Please see our FAQ for further information.

ℹ️ Review info
⚙️ Run configuration

Configuration used: Path: .coderabbit.yaml

Review profile: ASSERTIVE

Plan: Pro

Run ID: 5be9681c-b6be-47c8-80b0-c1ef25a195f7

📥 Commits

Reviewing files that changed from the base of the PR and between 3518449 and 2b516b2.

📒 Files selected for processing (1)
  • src/docker/build/test-image/Dockerfile
✨ Finishing Touches
🧪 Generate unit tests (beta)
  • Create PR with unit tests
  • Commit unit tests in branch chore/test-image-alpine

Thanks for using CodeRabbit! It's free for OSS, and your support helps us grow. If you like it, consider giving us a shout-out.

❤️ Share
Review rate limit: 0/1 reviews remaining, refill in 27 minutes and 28 seconds.

Comment @coderabbitai help to get the list of available commands and usage tips.

@nitrobass24 nitrobass24 merged commit 9903e45 into develop May 1, 2026
17 checks passed
@nitrobass24 nitrobass24 deleted the chore/test-image-alpine branch May 1, 2026 00:16
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.

1 participant