Skip to content

Instantly share code, notes, and snippets.

@egonelbre
Created March 14, 2021 09:21
Show Gist options
  • Save egonelbre/01bbf7ca97d6b5588438da36a2578e7b to your computer and use it in GitHub Desktop.
Save egonelbre/01bbf7ca97d6b5588438da36a2578e7b to your computer and use it in GitHub Desktop.
docker run --rm -it \
-v "$(go env GOPATH)/pkg/mod":"/go/pkg/mod" \
-v "$(pwd)":"/go/project" \
golang:1.16 \
/bin/sh -c "cd /go/project; go build --tags fts5"
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment