Maybe you or <@738151527344111666> can answer this...
# netmaker
b
Maybe you or @jolly-london-20127 can answer this, but how hard would it be to configure this to run on armv6l? I have a couple raspberry pi zero clusters I'd like to add to my netmaker network. I realize they're older boards and there aren't a lot of docker containers that support armv6l anymore, but with the lack of availability of newer pi's I'd like to see how mong I can keep these in service. Even if it's just a one off that doesn't make it into the code base, is there any way I can just build the dockerfile locally on my pi zero? I tried it last night, but it said there's no instruction set
j
yeah I don't see why not, as long as you can run the docker build, but not sure what the "no instruction set" error means
b
Let me get into it and I'll post what it gave me on the error
Sorry for the crude pic of my screen.
b
go builder is only built for amd64, arm64 and armv7l ... you could build your own version of go-builder or alternatively change the From line in Dockerfille-netclient-multiarch From gravitl/go-builder as builder ---> From alpine/golang as builder
b
I'll try that, thanks
gah!
I wish I was smarter than I am
how do I just build netclient? the docker build just isn't working because I need the netclient executable or some other files that are missing. I tried just downloading the arm6 binary of netclient, but every command ends up with a response of Illegal Instruction. So now I just want to compile netclient on my pi. I've already installed golang, do I just need to clone the repo then run the bin-maker.sh that's in the netclient folder?
b
just cd to netclient dir and run go build
b
thanks, I forgot that because I'm a sometimes
nvm, I have to install a newer version of go
ok, I've built netclient and built my docker image. netclient works if I run the executable, but when I try to run it in docker, I get this
docker: Error response from daemon: failed to create shim task: OCI runtime create failed: runc create failed: unable to start container process: exec: "./netclient checkin": stat ./netclient checkin: no such file or directory: unknown.
this should probably be in troubleshooting, my apologies
b
Why not just run the executable?