Skip to content

Commit 8cc422a

Browse files
authored
Build Puku (more) statically (#130)
Fixes #129 Not setting static = True as that won't work well for cross compilation.
1 parent d021b8f commit 8cc422a

File tree

4 files changed

+11
-2
lines changed

4 files changed

+11
-2
lines changed

Diff for: ChangeLog

+5
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,8 @@
1+
Version 1.12.0
2+
--------------
3+
* Set `netgo` and `osusergo` tags on the Go standard library to build puku more statically and
4+
avoid libc dependency
5+
16
Version 1.11.1
27
-------------
38
* Fix a bug causing a panic when the third party directory is misconfigured

Diff for: VERSION

+1-1
Original file line numberDiff line numberDiff line change
@@ -1 +1 @@
1-
1.11.1
1+
1.12.0

Diff for: cmd/puku/BUILD

+1-1
Original file line numberDiff line numberDiff line change
@@ -16,12 +16,12 @@ go_binary(
1616
"//licences",
1717
"//logging",
1818
"//migrate",
19+
"//options",
1920
"//please",
2021
"//proxy",
2122
"//sync",
2223
"//version",
2324
"//watch",
2425
"//work",
25-
"//options",
2626
],
2727
)

Diff for: third_party/go/BUILD

+4
Original file line numberDiff line numberDiff line change
@@ -8,6 +8,10 @@ go_toolchain(
88

99
go_stdlib(
1010
name = "std",
11+
tags = [
12+
"netgo",
13+
"osusergo",
14+
],
1115
)
1216

1317
go_repo(

0 commit comments

Comments
 (0)