Skip to content
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.

Commit 77ffa36

Browse files
authoredJul 19, 2018
Merge pull request #2476 from kolyshkin/osusergo
BUILDING.md: add osusergo for static build
2 parents 2a8e28a + 48570b3 commit 77ffa36

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed
 

‎BUILDING.md

+1-1
Original file line numberDiff line numberDiff line change
@@ -117,7 +117,7 @@ You can build static binaries by providing a few variables to `make`:
117117
```sudo
118118
make EXTRA_FLAGS="-buildmode pie" \
119119
EXTRA_LDFLAGS='-extldflags "-fno-PIC -static"' \
120-
BUILDTAGS="static_build netgo"
120+
BUILDTAGS="netgo osusergo static_build"
121121
```
122122

123123
> *Note*:

0 commit comments

Comments
 (0)
Failed to load comments.