spacemanspiff2007 / HABApp

Easy home automation with MQTT and/or openHAB
Apache License 2.0
54 stars 23 forks source link

Docker build fails #413

Closed spacemanspiff2007 closed 9 months ago

spacemanspiff2007 commented 9 months ago

Docker build of latest release failed

@DerOetzi Since you wrote the current docker file - would you mind looking at the issue or guide me in the right direction? Thank you for your help!

DerOetzi commented 9 months ago

Yes, I can take a look at it by the end of the week.

DerOetzi commented 9 months ago

First quick look:

#14 630.3       Building wheels for collected packages: maturin
#14 630.3         Building wheel for maturin (pyproject.toml): started
#14 630.3         Building wheel for maturin (pyproject.toml): finished with status 'error'

On arm/v6 architecture the build for this package maturin fails. I think there are no prebuild wheels for this package for this arch. You have to find which debian dev packages are needed and install them via apt-get in build part of the top of Dockerfile

Another hint: I'm not sure the arm/v6 is really good supported by python 3.11 base container

spacemanspiff2007 commented 9 months ago

If the fix is to remove arm/v6 then I think this is what we should do. I think arm/v6 is the pi zero and nobody is running docker container there anyway.

spacemanspiff2007 commented 9 months ago

Removing arm/v6 fixes ci.

Thank you for your help!