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

Switch to multi-arch build and images #223

Open
mahnunchik opened this issue Sep 22, 2024 · 0 comments
Open

Switch to multi-arch build and images #223

mahnunchik opened this issue Sep 22, 2024 · 0 comments

Comments

@mahnunchik
Copy link

It's been two years since the last discussion of this topic #131

All the software I use has switched to multi-architecture images in docker world. The technology has become stable over the past two years.

Maybe it makes sense to switch to a multi-arc build and multi-arch images. This will greatly simplify the build step of add-ons and save "kilometers" of documentation.

From

Image OS Tags latest
armhf-base Alpine 3.17 3.18, 3.19, 3.20 3.20
armv7-base Alpine 3.17 3.18, 3.19, 3.20 3.20
aarch64-base Alpine 3.17 3.18, 3.19, 3.20 3.20
amd64-base Alpine 3.17 3.18, 3.19, 3.20 3.20
i386-base Alpine 3.17 3.18, 3.19, 3.20 3.20

To

Image OS Tags latest
base Alpine 3.17 3.18, 3.19, 3.20 3.20

https://github.com/home-assistant/core/blob/dev/build.yaml#L1-L7

From

image: ghcr.io/home-assistant/{arch}-homeassistant
build_from:
  aarch64: ghcr.io/home-assistant/aarch64-homeassistant-base:2024.06.1
  armhf: ghcr.io/home-assistant/armhf-homeassistant-base:2024.06.1
  armv7: ghcr.io/home-assistant/armv7-homeassistant-base:2024.06.1
  amd64: ghcr.io/home-assistant/amd64-homeassistant-base:2024.06.1
  i386: ghcr.io/home-assistant/i386-homeassistant-base:2024.06.1

To

image: ghcr.io/home-assistant/homeassistant
build_from: ghcr.io/home-assistant/homeassistant-base:2024.06.1

Or even

image: ghcr.io/home-assistant/homeassistant

Together with

FROM: ghcr.io/home-assistant/homeassistant-base:2024.06.1

It seems hassio has been already switched https://github.com/hassio-addons/addon-base/pkgs/container/base

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

No branches or pull requests

1 participant