digitalocean / digitalocean/doctl

doctl binary for Android ARM64

Open
#1,028 3 comments 0 reactions 0 assignees View on GitHub
suggestion
Dominant language
Go
Stars
3.4k
Forks
496
Avg merge
1d 2h
Merged PRs (30d)
31

Description

There is no working **doctl binary for Android ARM64** & I'd like to be able to use doctl on Android to manage Kubernetes clusters.

Currently I'm able to manage EKS, GKE with their tools like `aws-iam-authenticator` & `gcloud` but not DigitalOcean.

For example with the latest arm64 binary in the repo releases [https://github.com/digitalocean/doctl/releases/download/v1.64.0/doctl-1.64.0-linux-arm64.tar.gz](https://github.com/digitalocean/doctl/releases/download/v1.64.0/doctl-1.64.0-linux-arm64.tar.gz) it doesn't work:
```
export DIGITALOCEAN_ACCESS_TOKEN="xxxxxxxxxxxxxx" && \
doctl auth init

Error: Unable to use supplied token to access API: Get https://api.digitalocean.com/v2/account: dial tcp lookup api.digitalocean.com on [::1]:53 read udp [::1]:47107>[::1]:53 read connection refused
```

But the curl request for same api works ok:
```
export DIGITALOCEAN_ACCESS_TOKEN="xxxxxxxxxxxxxx" && \
curl -X GET -H "Content-Type: application/json" \
-H "Authorization: Bearer $TOKEN" \
"https://api.digitalocean.com/v2/account"

{
"account":
{
"droplet_limit":xxxx,
"floating_ip_limit":xx,
"volume_limit":xxx,
"email":"xxxxxx",
"uuid":"xxxxxxxxx",
"email_verified":true,
"status":"active",
"status_message":""
}
}
```

I wasn't able to build a working binary from sources either.

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.