I'm trying to compile openshift origin source on my raspberry pi 3 but it keeps timing out.
The tutorial I'm following is from here
Reason I'm doing this is because I get the error
./oc: cannot execute binary file: Exec format error
when I download the file directly from here and use it.
So can anyone tell me what I have to do to make this work or how I fix the errors?
With openshift 2 being discontinued soon, I cannot access my application with rhc
anymore (which works fine on my RPi3).
Got it working, here's the answer for others and for future reference.
go build -v github.com/openshift/origin/cmd/oc
And you will get an executable that is usable for the RPi 3
The Pi probably does not have enough RAM to compile
oc
. I suggest running something like the following on your primary machine and copying the resulting binary to the Pi: