jhrcook / homebridge-controller

A program to execute custom Homebridge controlling programs.
0 stars 0 forks source link

Alpine Docker base does not work on Raspberry Pi #10

Closed jhrcook closed 2 months ago

jhrcook commented 2 months ago
jhrcook@raspberrypi:~/docker-compse-configurations/homebridge-controller $ sudo docker compose up --force-recreate --build -d
[+] Building 1.1s (2/2) FINISHED                                                              docker:default
 => [homebridge-controller internal] load build definition from Dockerfile                              0.5s
 => => transferring dockerfile: 358B                                                                    0.0s
 => ERROR [homebridge-controller internal] load metadata for docker.io/library/rust:1.80.1-alpine       0.4s
------
 > [homebridge-controller internal] load metadata for docker.io/library/rust:1.80.1-alpine:
------
failed to solve: rust:1.80.1-alpine: failed to resolve source metadata for docker.io/library/rust:1.80.1-alpine: no match for platform in manifest: not found
jhrcook commented 2 months ago

Problem is that the Alpine docker container is not built for my RPi's ARM architecture.

https://github.com/rust-lang/docker-rust/blob/3b6565cd3b0b7c9cb084f07461cb959f7cf77c16/1.80.1/alpine3.19/Dockerfile