1
0
mirror of https://github.com/vimagick/dockerfiles.git synced 2024-12-16 11:37:32 +02:00
dockerfiles/etcd-arm/README.md

16 lines
269 B
Markdown
Raw Normal View History

2015-09-29 17:40:35 +02:00
etcd-arm
========
2015-09-29 17:47:08 +02:00
## Cross compilation for Raspberry Pi
2015-09-29 17:40:35 +02:00
```
git clone https://github.com/coreos/etcd.git
cd etcd
2015-09-30 20:47:56 +02:00
# 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
2015-09-29 17:40:35 +02:00
```