homebridge / docker-homebridge

Homebridge Docker. HomeKit support for the impatient using Docker on x86_64, Raspberry Pi (armhf) and ARM64. Includes ffmpeg + libfdk-aac.
https://hub.docker.com/r/homebridge/homebridge/
GNU General Public License v3.0
2.57k stars 241 forks source link

Notice: Removing Alpine Linux variant #437

Closed oznu closed 1 year ago

oznu commented 2 years ago

From the next release this image will no longer build the Alpine Linux variants of the image, only Ubuntu-based images will be available. Ubuntu does not support arm6, as a result this image will no longer be compatible with Raspberry Pi 1 and Raspberry Pi Zero W devices. The project will continue to build images for amd64, aarch64 and arm7 (Raspberry Pi 2 or later).

Currently the latest tag is an Alpine Linux based image, this will change to an Ubuntu Linux based image. For most users this change should be transparent.

Additionally AVAHI will be enabled by default in all images, this can be disabled with -e ENABLE_AVAHI=0.

If you have any custom start up scripts that use npm or apk, these will need to be updated to work with pnpm and apt respectively.

danieletorelli commented 2 years ago

Hello, first of all I'd like to thank you for the great job you're doing. Much appreciated.

May I ask you what are the reasons behind this choice?

oznu commented 2 years ago

When this image was first created, the Debian base images were much more bloated.

I've also been having to manually compile Node.js for Alpine/muslibc as there is not a reliable source of binaries or base images that are kept up-to-date (the offical node:alpine base images were often broken for arm builds).

Moving everything to Ubuntu also allows the image to take advantage of the Homebridge Debian package, which reduces the complexity of this image.

https://github.com/homebridge/homebridge-apt-pkg

danieletorelli commented 2 years ago

When this image was first created, the Debian base images were much more bloated.

I've also been having to manually compile Node.js for Alpine/muslibc as there is not a reliable source of binaries or base images that are kept up-to-date (the offical node:alpine base images were often broken for arm builds).

Moving everything to Ubuntu also allows the image to take advantage of the Homebridge Debian package, which reduces the complexity of this image.

https://github.com/homebridge/homebridge-apt-pkg

That absolutely makes it a reasonable decision.

Thank you very much for the clarification 🙂