Skip to content

Conversation

@dguido
Copy link
Member

@dguido dguido commented Jan 15, 2026

Summary

Fixes the CI Docker build failure on linux/arm/v7 caused by #2883.

Root cause: COPY --from=ghcr.io/astral-sh/uv:latest fails because uv doesn't publish armv7 images.

Fix:

  • Use curl to install uv instead of COPY --from (handles architecture automatically)
  • Add pip fallback for armv7 where uv isn't available
  • Add ca-certificates, curl, and python3-pip to apt dependencies

Platform support:

Platform Package Manager
linux/amd64 uv (with lockfile)
linux/arm64 uv (with lockfile)
linux/arm/v7 pip (from pyproject.toml)

Test plan

  • Local build succeeds on arm64
  • slither --version works in container
  • CI multi-platform build passes

🤖 Generated with Claude Code

The previous change used `COPY --from=ghcr.io/astral-sh/uv:latest` which
fails on armv7 because uv doesn't publish armv7 images.

This fix:
- Uses curl to install uv (works on amd64/arm64)
- Falls back to pip for armv7 where uv isn't available
- Adds ca-certificates and curl to apt dependencies
- Re-adds python3-pip for the fallback path

Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com>
@dguido dguido requested a review from smonicas as a code owner January 15, 2026 18:21
@smonicas smonicas merged commit bb4e8d0 into master Jan 15, 2026
34 checks passed
@smonicas smonicas deleted the fix-docker-armv7 branch January 15, 2026 18:23
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.

3 participants