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

Add arm64 arch #804

Closed
analytically opened this issue Dec 2, 2020 · 3 comments
Closed

Add arm64 arch #804

analytically opened this issue Dec 2, 2020 · 3 comments

Comments

@analytically
Copy link

Currently there is no arm64 download available for Fabio.

@nathanejohnson
Copy link
Member

There should be nothing preventing fabio being built from source for arm64 - except on Big Sur running Apple silicon. I realize now with apple shipping m1 macs and raspberry pi's gaining popularity it would be good to have a release build available for download. I will plan to add this once the golang toolchain works properly on apple's m1 chip. Hopefully I should have some hardware incoming to test on.

@loafoe
Copy link

loafoe commented Nov 5, 2021

Any update on this? With m1 and rpi4s being quite widespread now it would be great to have a multiarch docker release for arm64. Thx!

@lanefu
Copy link

lanefu commented Dec 14, 2021

@loafoe here's an entrypoint script i use in a golang container

 
    apt update
    apt install curl gnupg build-essential rclone zip -y
    rclone -q config create b2 b2
    mkdir -p /go/src/
    cd /go/src/
    git clone https://github.com/fabiolb/fabio.git
    cd fabio
    for ARCH in arm64 arm amd64; do
      export GOARCH=${ARCH}
      go build -v
      mv fabio fabio-${ARCH}
      rclone copy fabio-${ARCH} myobjecstorage:artifacts/fabio/
    done

nathanejohnson added a commit that referenced this issue Apr 8, 2022
removing exclusion of arm64 mac build.  Fixes #804
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

4 participants