Skip to content

Instantly share code, notes, and snippets.

@MorrisJobke
Last active May 9, 2022 01:12
Show Gist options
  • Save MorrisJobke/3aa648a12da6082e1d8e57b7c772337b to your computer and use it in GitHub Desktop.
Save MorrisJobke/3aa648a12da6082e1d8e57b7c772337b to your computer and use it in GitHub Desktop.
How to build drone
apt install golang-go
export GOPATH=$HOME/go
export PATH=$PATH:$GOROOT/bin:$GOPATH/bin
mkdir ~/go
git clone git://github.com/drone/drone.git $GOPATH/src/github.com/drone/drone
cd $GOPATH/src/github.com/drone/drone
make deps
make gen
make build
docker build -t drone/drone:0.5 .
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment