sagipael / pihole-alpine

Other
0 stars 1 forks source link

Could I supply a compiled pihole-FTL binary for alpine on rpi4? #2

Open symgryph opened 2 years ago

symgryph commented 2 years ago

I managed to get the binary to compile on my rpi4 with alpine. Unfortunately, the versions (aarch64) don't seem to work on the alpine I have running. I have managed to compile one that runs. Or could we make an option to 'check' for a pre-compiled binary and 'skip' the download portion for ftl. Error follows

 [i] FTL Checks...

  [✓] Detected ARMv5 (or newer) processor
  [i] Checking for existing FTL binary...
  [i] Downloading and Installing FTL...curl: (22) The requested URL returned error: 404
  [✗] Downloading and Installing FTL
  Error: URL https://github.com/pi-hole/ftl/releases/latest/download/pihole-FTL-armv5-linux-gnueabi not found
  [✗] FTL Engine not installed
sagipael commented 2 years ago

I managed to get the binary to compile on my rpi4 with alpine. Unfortunately, the versions (aarch64) don't seem to work on the alpine I have running. I have managed to compile one that runs. Or could we make an option to 'check' for a pre-compiled binary and 'skip' the download portion for ftl. Error follows

 [i] FTL Checks...

  [✓] Detected ARMv5 (or newer) processor
  [i] Checking for existing FTL binary...
  [i] Downloading and Installing FTL...curl: (22) The requested URL returned error: 404
  [✗] Downloading and Installing FTL
  Error: URL https://github.com/pi-hole/ftl/releases/latest/download/pihole-FTL-armv5-linux-gnueabi not found
  [✗] FTL Engine not installed

I didn't understand what is the reason to install alpine and pihole on rpi, pihole could install on raspbian officially. The idea of installing on Alpine, is for case of VM, to use the Lightest vm with low resources.

symgryph commented 2 years ago

I hate debian?