Skip to content

fix: multi-platform Docker build for ARM devices#2

Merged
itsDNNS merged 3 commits intoitsDNNS:mainfrom
fabrizio-monaco:fix/exec-format-error-1
Feb 12, 2026
Merged

fix: multi-platform Docker build for ARM devices#2
itsDNNS merged 3 commits intoitsDNNS:mainfrom
fabrizio-monaco:fix/exec-format-error-1

Conversation

@fabrizio-monaco
Copy link
Contributor

Summary

Fixes exec /entrypoint.sh: exec format error when deploying on ARM-based devices (e.g. Raspberry Pi) by enabling multi-platform Docker builds.

Changes

Multi-platform CI build (docker.yml)

  • Added docker/setup-qemu-action for cross-platform emulation
  • Added docker/setup-buildx-action to enable Docker Buildx
  • Build now targets linux/amd64, linux/arm64, and linux/arm/v7

Multi-stage Dockerfile (Dockerfile)

  • Builder stage: installs gcc, libffi-dev, libjpeg62-turbo-dev, zlib1g-dev to compile native dependencies (cffi, Pillow) from source on ARM architectures where no pre-built wheels are available
  • Runtime stage: copies only the compiled packages — no compiler or dev headers in the final image, keeping it slim
  • Added libjpeg62-turbo as runtime dependency for Pillow

Platforms supported

Architecture Example devices
linux/amd64 Standard PCs, servers
linux/arm64 Raspberry Pi 4/5, Apple Silicon
linux/arm/v7 Raspberry Pi 2/3 (32-bit)

Closes #1

Copy link
Owner

@itsDNNS itsDNNS left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Great contribution, thanks @fabrizio-monaco! 🎉

Multi-stage build approach is clean. Keeps the runtime image slim while handling native compilation for ARM. QEMU + Buildx setup looks solid.

One minor thing: I'll remove the fix/* branch trigger after merge since we don't use that pattern in our workflow. Everything else looks good to go.

Appreciate you jumping on this so quickly after the issue was opened!

@itsDNNS itsDNNS merged commit 122c66d into itsDNNS:main Feb 12, 2026
itsDNNS added a commit that referenced this pull request Feb 13, 2026
fix: multi-platform Docker build for ARM devices
itsDNNS pushed a commit that referenced this pull request Feb 14, 2026
- Add 'correlation' to validViews array (was missing, caused routing issues)
- Fix Data Export & File Complaint links with href="javascript:void(0)"
  to prevent unwanted navigation
- Resolves icon rendering bug (side effect of routing fix)

Bugs fixed:
- BUG #1: "▶ ▶ ▶" icons visible on some views
- BUG #2: Data Export and File Complaint showing wrong content

Testing: All views now route correctly, modals open as expected
itsDNNS pushed a commit that referenced this pull request Feb 14, 2026
- BUG #1 (▶ ▶ ▶ icons): Fixed by browser cache refresh (no code changes needed)
- BUG #2 (Table overflow): Added horizontal scrolling for tables on mobile

Changes:
- Add overflow-x: auto for all data tables under 768px breakpoint
- Set minimum column widths to prevent text crushing
- Enable smooth scrolling on iOS with -webkit-overflow-scrolling: touch
- Tables now fully accessible on mobile (375px viewport tested)

Testing: Event Log, Speedtest, Correlation tables all scroll correctly on mobile
itsDNNS added a commit that referenced this pull request Feb 26, 2026
fix: multi-platform Docker build for ARM devices
itsDNNS added a commit that referenced this pull request Feb 26, 2026
- Add 'correlation' to validViews array (was missing, caused routing issues)
- Fix Data Export & File Complaint links with href="javascript:void(0)"
  to prevent unwanted navigation
- Resolves icon rendering bug (side effect of routing fix)

Bugs fixed:
- BUG #1: "▶ ▶ ▶" icons visible on some views
- BUG #2: Data Export and File Complaint showing wrong content

Testing: All views now route correctly, modals open as expected
itsDNNS added a commit that referenced this pull request Feb 26, 2026
- BUG #1 (▶ ▶ ▶ icons): Fixed by browser cache refresh (no code changes needed)
- BUG #2 (Table overflow): Added horizontal scrolling for tables on mobile

Changes:
- Add overflow-x: auto for all data tables under 768px breakpoint
- Set minimum column widths to prevent text crushing
- Enable smooth scrolling on iOS with -webkit-overflow-scrolling: touch
- Tables now fully accessible on mobile (375px viewport tested)

Testing: Event Log, Speedtest, Correlation tables all scroll correctly on mobile
itsDNNS added a commit that referenced this pull request Feb 26, 2026
fix: multi-platform Docker build for ARM devices
itsDNNS added a commit that referenced this pull request Feb 26, 2026
- Add 'correlation' to validViews array (was missing, caused routing issues)
- Fix Data Export & File Complaint links with href="javascript:void(0)"
  to prevent unwanted navigation
- Resolves icon rendering bug (side effect of routing fix)

Bugs fixed:
- BUG #1: "▶ ▶ ▶" icons visible on some views
- BUG #2: Data Export and File Complaint showing wrong content

Testing: All views now route correctly, modals open as expected
itsDNNS added a commit that referenced this pull request Feb 26, 2026
- BUG #1 (▶ ▶ ▶ icons): Fixed by browser cache refresh (no code changes needed)
- BUG #2 (Table overflow): Added horizontal scrolling for tables on mobile

Changes:
- Add overflow-x: auto for all data tables under 768px breakpoint
- Set minimum column widths to prevent text crushing
- Enable smooth scrolling on iOS with -webkit-overflow-scrolling: touch
- Tables now fully accessible on mobile (375px viewport tested)

Testing: Event Log, Speedtest, Correlation tables all scroll correctly on mobile
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.

entrypoint - exec format error

2 participants