Skip to content

Instantly share code, notes, and snippets.

@Mistobaan
Created November 1, 2014 02:19
Embed
What would you like to do?
Setup Drone #bash
#!/bin/bash
set -e
bash < <(curl -s -S -L https://raw.githubusercontent.com/moovweb/gvm/master/binscripts/gvm-installer) || :
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/github.com/drone/
cd $GOPATH/src/github.com/drone/
git clone git://github.com/Mistobaan/drone.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