alex3305 / home-assistant-addons

Alex's Home Assistant Add-ons
https://alex3305.github.io/home-assistant-docs/
MIT License
47 stars 29 forks source link

Fix RPi4-64 builds for traefik #11

Closed leakypixel closed 3 years ago

leakypixel commented 4 years ago

Prior to this change, the wget command used to pull the release of traefik made use of the BUILD_ARCH environment variable, which on a Raspberry Pi 4 with a 64 bit system was the string "aarch64". Traefik's releases for the 64-bit ARM architecture however use "arm64", which resulted in the release file not being found and the addon container failing to build. This change fixes the issue by using a TRAEFIK_BUILD_ARCH variable and setting that appropriately based on BUILD_ARCH.

https://github.com/alex3305/hassio-addons/issues/8

alex3305 commented 3 years ago

Superb fix. Thanks for contributing.

leakypixel commented 3 years ago

No problem, thanks for your hard work on the addon! :)