Skip to content
Kevin He edited this page Feb 8, 2021 · 8 revisions
go get -d github.com/kelseyhightower/confd
cd $GOPATH/src/github.com/kelseyhightower/confd
VERSION=0.16.0
git checkout v$VERSION
GOOS=linux GOARCH=arm GOARM=6 go build -installsuffix cgo -ldflags '-s -extld ld -extldflags -static' -a -x -o confd-$VERSION-armv6l
GOOS=linux GOARCH=arm GOARM=7 go build -installsuffix cgo -ldflags '-s -extld ld -extldflags -static' -a -x -o confd-$VERSION-armv7l
upx confd-$VERSION-armv6l
upx confd-$VERSION-armv7l
Clone this wiki locally