Last active
May 9, 2022 01:12
-
-
Save MorrisJobke/3aa648a12da6082e1d8e57b7c772337b to your computer and use it in GitHub Desktop.
How to build drone
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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