Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Notice: Removing Alpine Linux variant #437

Closed
oznu opened this issue May 13, 2022 · 3 comments
Closed

Notice: Removing Alpine Linux variant #437

oznu opened this issue May 13, 2022 · 3 comments

Comments

@oznu
Copy link
Member

oznu commented May 13, 2022

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.

@oznu oznu added the ⚠️ label May 13, 2022
@oznu oznu pinned this issue May 13, 2022
@oznu oznu added the pinned label May 14, 2022
@oznu oznu changed the title Notice: Removing Alpine Linux variant / arm6 / Raspberry Pi 1, 2, or Raspberry Pi Zero W support Notice: Removing Alpine Linux variant / arm6 / Raspberry Pi 1 and Raspberry Pi Zero W support May 15, 2022
@oznu oznu changed the title Notice: Removing Alpine Linux variant / arm6 / Raspberry Pi 1 and Raspberry Pi Zero W support Notice: Removing Alpine Linux variant May 17, 2022
@danieletorelli
Copy link

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
Copy link
Member Author

oznu commented May 18, 2022

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
Copy link

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 🙂

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

2 participants