#!/bin/sh

set -e

$(boot2docker shellinit)
docker run --rm -v "$(pwd)":/usr/src/myapp -w /usr/src/myapp golang:cross sh build.sh

#!/bin/sh

set -e

$(boot2docker shellinit)
DIR=/go/src/github.com/bosun-monitor/scollector
docker run --rm -v "$(pwd)":$DIR -w $DIR golang:cross sh build.sh

Build using current scollector directory
cmd/scollector: Build using current scollector directory

Needed so the cross build testing doesn't require a commit and push.
