Skip to content

Instantly share code, notes, and snippets.

Created Sep 18, 2014
What would you like to do?
Drone on RHEL6
sudo rpm -ivh
sudo yum install -y golang git mercurial make bzr
export GOPATH=~/Go
export PATH=$PATH:$GOPATH/bin
mkdir $GOPATH
go get
cd $GOPATH/src/
make deps
make vendor
make clean
make embed
make build-dist
sudo mkdir -p /var/cache/drone /var/lib/drone
sudo cp bin/{drone,droned} /usr/local/bin/
sudo cp deb/drone/etc/default/drone /etc/default
sudo cp deb/drone/etc/init/drone.conf /etc/init/
sudo sed -i '/console/d' /etc/init/drone.conf
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment