Last active
September 27, 2021 11:56
-
-
Save jaketame/48d67da5e26662b23d01a1d0e76ef744 to your computer and use it in GitHub Desktop.
Golang build for PlexDrive
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
mkdir /opt/code/ && cd /opt/code | |
git pull https://github.com/dweidenfeld/plexdrive.git | |
GOPATH=/opt/code/plexdrive/ && export GOPATH | |
go get -v | |
docker run --rm -e GOOS=linux -e GOARCH=amd64 -v $PWD:/usr/src/plexdrive/ -v $PWD/src:/go/src/ -w /usr/src/plexdrive/ golang:1.8 go build -v |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment