cloudflare / cloudflare/cloudflared

Publish version for Apple Silicon chip

Open
#534 3 comments 9 reactions 0 assignees View on GitHub
Dominant language
Go
Stars
15.6k
Forks
1.4k
PR merge metrics
No merged PRs in 30d

Description

Hi team,

I set up Cloudflare Access for our SSH server and currently no official binary for Apple Silicon chip. After installing from homebrew:

```
❯ brew install cloudflare/cloudflare/cloudflared
❯ cloudflared
zsh: bad CPU type in executable: cloudflared
```

I tried to clone the repo and run `make cloudflared`, the binary is working with Mac M1:
```
❯ arch
arm64
❯ make cloudflared
GOOS=darwin GOARCH=arm64 go build -v -mod=vendor -ldflags='-X "main.Version=2021.12.1-3-g70e675f4" -X "main.BuildTime=2021-12-20-2346 UTC" ' github.com/cloudflare/cloudflared/cmd/cloudflared
❯ ./cloudflared version
cloudflared version 2021.12.1-3-g70e675f4 (built 2021-12-20-2346 UTC)
```

I tried to make a PR but the current Team City setup for MacOS is hard for outside people contributing.

Thanks,

Contributor guide

Open the contributing guide

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.