Skip to content

Explicitly force the platform within the docker pull action of the Makefile#14

Merged
brocaar merged 2 commits intochirpstack:masterfrom
iamphilrae:master
Mar 4, 2026
Merged

Explicitly force the platform within the docker pull action of the Makefile#14
brocaar merged 2 commits intochirpstack:masterfrom
iamphilrae:master

Conversation

@iamphilrae
Copy link
Copy Markdown
Contributor

This fixes an issue on MacOS with an M-class processor. Without this, the following error was being returned when trying to run make serve:

chirpstack-device-profiles % make serve
docker pull chirpstack/chirpstack-device-profiles:latest
Error response from daemon: no matching manifest for linux/arm64/v8 in the manifest list entries: no match for platform in manifest: not found
make: *** [serve] Error 1 

With this fix in place, the app runs as expected:

chirpstack-device-profiles % make serve
docker pull --platform=linux/amd64 chirpstack/chirpstack-device-profiles:latest
latest: Pulling from chirpstack/chirpstack-device-profiles
6bf276d62c8d: Pull complete 
9824c27679d3: Pull complete 
7e70bb687d30: Pull complete 
0dfe10a0e8f7: Download complete 
Digest: sha256:d99d6d164d36066d919aec378a90b6fff2dffa6e92a501c00df2eed08a2fac87
Status: Downloaded newer image for chirpstack/chirpstack-device-profiles:latest
docker.io/chirpstack/chirpstack-device-profiles:latest
docker run --rm -u : -p 8090:8090 -v 'chirpstack-device-profiles:/chirpstack-device-profiles' chirpstack/chirpstack-device-profiles:latest -p /chirpstack-device-profiles
WARNING: The requested image's platform (linux/amd64) does not match the detected host platform (linux/arm64/v8) and no specific platform was requested
Starting server, bind: 0.0.0.0:8090

@brocaar
Copy link
Copy Markdown
Contributor

brocaar commented Mar 4, 2026

Thanks @iamphilrae 👍

@iamphilrae
Copy link
Copy Markdown
Contributor Author

Now added Milesight AM102 and AM102L devices.

@brocaar brocaar merged commit cec0ec5 into chirpstack:master Mar 4, 2026
2 checks passed
@brocaar
Copy link
Copy Markdown
Contributor

brocaar commented Mar 4, 2026

Thanks @iamphilrae for the fix + adding new Milesight devices 👍

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