1
0
mirror of https://github.com/vimagick/dockerfiles.git synced 2024-11-28 09:08:50 +02:00
dockerfiles/etcd-arm/README.md
2015-10-01 19:09:30 +08:00

399 B

etcd-arm

Cross compilation for Raspberry Pi

git clone https://github.com/coreos/etcd.git
cd etcd
# ARMv6
GOOS=linux GOARCH=arm GOARM=6 ./build
scp bin/* pi1:/usr/local/bin
# ARMv7
GOOS=linux GOARCH=arm GOARM=7 ./build
scp bin/* pi2:/usr/local/bin