I love fly.io and I’m trying to set my environment up in a “android” while having a debian running on android
This is so I can code anywhere. the setup is 90% completed but I keep getting an error with the flyctl command line binary.
first of all, I can’t install it via the website “install.sh” bash script because it says it has no version for my arch(android, arm)
Then I went to github and manually downloaded the arm version and tried running but when I try to execute it displays “Illegal Instruction”
Is there an npm package for fly.io(I searched and could not find it)
Is there a way of compiling it to arm.
I need to basically get flyctl to run in an android/Linux/arm81 how can I do this, does fly has some sort of API, I just need to login and deploy, is there any publicly exposed API where I can make a simple bash script to deploy my app?
I tried but I keep getting “version mismatch” errors.
make build
Running Generate for Help and GraphQL client
go generate ./…
go: errors parsing go.mod:
/home/viktor/projects/flyctl/go.mod:3: invalid go version ‘1.21.0’: must match format 1.23
make: *** [Makefile:8: generate] Error 1
and
Vik@Vik: pts/3: 44 files 324Kb ❯ make build
Running Generate for Help and GraphQL client
go generate ./…
go: errors parsing go.mod:
/home/viktor/projects/flyctl/go.mod:3: invalid go version ‘1.21.0’: must match format 1.23
make: *** [Makefile:8: generate] Error 1
I don’t know if this helps, but proof of concept (build on a Mac M2):
FROM debian:12-slim
RUN apt-get update
RUN apt-get install -y build-essential git wget
RUN wget -qO- https://go.dev/dl/go1.21.5.linux-arm64.tar.gz | \
tar -C /usr/local -xz
ENV PATH=$PATH:/usr/local/go/bin
RUN git clone https://github.com/superfly/flyctl.git
WORKDIR /flyctl
RUN make build