Skip to content

Instantly share code, notes, and snippets.

Created November 1, 2014 02:19
What would you like to do?
Setup Drone #bash
set -e
bash < <(curl -s -S -L || :
source /home/ubuntu/.gvm/scripts/gvm
gvm install go1.2.2 --with-build-tools --binary
gvm use go1.2.2
export GOPATH=$HOME/gopath/
export PATH=$HOME/gopath/bin:$PATH
mkdir -p $GOPATH/src/
cd $GOPATH/src/
git clone git:// || :
cd drone
SHA1=$(git rev-parse HEAD)
sudo docker build -t therealreal/drone:$SHA1 .
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment