Skip to content

Conversation

@stephanj
Copy link

This PR fixes architecture mapping issues in the Docker base image that were causing download failures on different architectures.

Changes Made

Fixed Binary Downloads

  • eza: Updated architecture mapping from amd64/arm64 to x86_64/aarch64 to match GitHub release naming
  • delta: Added version fetching and proper architecture mapping, fixed download URL format
  • glow: Added version fetching, corrected architecture mapping (x86_64/arm64), and fixed extraction path

File Permissions

  • Made bin/setup.sh executable (mode change from 644 to 755)

Problem Solved

The Dockerfile.base was failing to download binaries on different architectures due to mismatched architecture naming conventions:

  • Docker's dpkg --print-architecture returns amd64/arm64
  • GitHub releases use x86_64/aarch64 for many tools
  • Some tools also required version numbers in their download URLs

Testing

✅ Docker build tested successfully on the current system
✅ All binary downloads now use correct architecture mapping
✅ Version fetching ensures compatibility with latest releases

Co-Authored-By: Warp agent@warp.dev

- Fix eza download to use correct architecture mapping (x86_64/aarch64 instead of amd64/arm64)
- Fix delta download to include version in URL and use proper architecture mapping
- Fix glow download to include version and use correct extraction path
- Make setup.sh executable

These fixes resolve download failures on different architectures by ensuring
proper mapping between Docker ARCH and GitHub release naming conventions.

Co-Authored-By: Warp <agent@warp.dev>
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