Hi all,
Does anybody have an example of an hassio addon that does NOT use the official base image and works on Raspberry Pi 4?
This dockerfile works:
ARG BUILD_FROM
FROM $BUILD_FROM
...
CMD [ "/run.sh" ]
This works too (I’m building it just for one architecture at the moment):
FROM homeassistant/aarch64-base:latest
...
CMD [ "/run.sh" ]
But if I use the image homeassistant/aarch64-base
's based on (arm64v8/alpine
, taken from here: docker-base/Dockerfile at fa6c4bd5f0fe835edf002d5c31b391ab56a5c6ec · home-assistant/docker-base · GitHub):
FROM arm64v8/alpine:latest
...
CMD [ "/run.sh" ]
I get the architecture mismatch when starting the addon:
exec /run.sh: exec format error
docker inspect
on homeassistant/aarch64-base
and arm64v8/alpine
show the exact same architecture (arm64, v8, linux), so I’m a bit lost.