Skip to content

Instantly share code, notes, and snippets.

@jaketame
Last active September 27, 2021 11:56
Show Gist options
  • Save jaketame/48d67da5e26662b23d01a1d0e76ef744 to your computer and use it in GitHub Desktop.
Save jaketame/48d67da5e26662b23d01a1d0e76ef744 to your computer and use it in GitHub Desktop.
Golang build for PlexDrive
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