Skip to content

fix(docker): use dynamic architecture grain instead of hardcoded amd64#220

Merged
ekristen merged 1 commit intoteamdfir:masterfrom
jonathanlooi:fix/arm64-docker-repo
Apr 14, 2026
Merged

fix(docker): use dynamic architecture grain instead of hardcoded amd64#220
ekristen merged 1 commit intoteamdfir:masterfrom
jonathanlooi:fix/arm64-docker-repo

Conversation

@jonathanlooi
Copy link
Copy Markdown

Problem

The Docker apt sources file has Architectures: amd64 hardcoded, which causes SIFT
installation to fail silently on ARM64 systems — the repository is configured for the
wrong architecture so docker-ce cannot be found.

Fix

Replace the hardcoded value with a Jinja grain lookup:
Architectures: {{ grains['osarch'] | replace('aarch64', 'arm64') }}
This writes the correct architecture (amd64 or arm64) at install time.

Tested on

  • Ubuntu 22.04 LTS ARM64 running in UTM on Apple Silicon (M-series Mac)

@jonathanlooi
Copy link
Copy Markdown
Author

I published this small repo describing some more details about how I got it running on my m3 mac https://github.com/jonathanlooi/sift-on-arm

@ekristen ekristen merged commit 5175ca8 into teamdfir:master Apr 14, 2026
5 checks passed
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.

2 participants