Project31 / kubernetes-installer-rpi

Apache License 2.0
15 stars 7 forks source link

etcd golang compilation fails #2

Open nikatjef opened 8 years ago

nikatjef commented 8 years ago

Greetings,

etcd build fails during the install phase causing the docker build to fail.

I don't know enough yet about golang to provide much, but on line 20 of build-master.sh, the command 'docker build -t etcd' completes steps 1 - 10, but fails on step 11 with the following output; --- Cut --- Paste --- Cut --- Paste --- Cut --- Paste --- Step 11 : RUN go-wrapper install ---> Running in b1f7a9df9b55

To help ensure that this was the correct failure point, I have altered the Dockerfile to; --- Cut --- Paste --- Cut --- Paste --- Cut --- Paste --- RUN mv /go/src/app/go-wrapper /goroot/bin/go-wrapper;\ chmod a+x /goroot/bin/go-wrapper;\ go-wrapper download

RUN chmod +x /goroot/bin/go-wrapper

RUN go-wrapper download

RUN go-wrapper install --- Cut --- Paste --- Cut --- Paste --- Cut --- Paste --- The combined step 8 through 10 completed successfully.

If it helps, I am using the hypriot/rpi-golang (latest) image from https://hub.docker.com/r/hypriot/rpi-golang/