@@ -10,7 +10,6 @@ builds:
10
10
- id : casaos-gateway-amd64
11
11
binary : build/sysroot/usr/bin/casaos-gateway
12
12
env :
13
- - CGO_ENABLED=1
14
13
- CC=x86_64-linux-gnu-gcc
15
14
ldflags :
16
15
- -s
@@ -29,7 +28,6 @@ builds:
29
28
- id : casaos-gateway-arm64
30
29
binary : build/sysroot/usr/bin/casaos-gateway
31
30
env :
32
- - CGO_ENABLED=1
33
31
- CC=aarch64-linux-gnu-gcc
34
32
ldflags :
35
33
- -s
@@ -38,6 +36,7 @@ builds:
38
36
tags :
39
37
- musl
40
38
- netgo
39
+ - osusergo
41
40
goos :
42
41
- linux
43
42
goarch :
@@ -48,7 +47,6 @@ builds:
48
47
- id : casaos-gateway-arm-7
49
48
binary : build/sysroot/usr/bin/casaos-gateway
50
49
env :
51
- - CGO_ENABLED=1
52
50
- CC=arm-linux-gnueabihf-gcc
53
51
ldflags :
54
52
- -s
@@ -57,6 +55,7 @@ builds:
57
55
tags :
58
56
- musl
59
57
- netgo
58
+ - osusergo
60
59
goos :
61
60
- linux
62
61
goarch :
@@ -70,7 +69,6 @@ builds:
70
69
binary : build/sysroot/usr/bin/casaos-gateway-migration-tool
71
70
main : ./cmd/migration-tool
72
71
env :
73
- - CGO_ENABLED=1
74
72
- CC=x86_64-linux-gnu-gcc
75
73
ldflags :
76
74
- -s
@@ -79,6 +77,7 @@ builds:
79
77
tags :
80
78
- musl
81
79
- netgo
80
+ - osusergo
82
81
goos :
83
82
- linux
84
83
goarch :
@@ -87,7 +86,6 @@ builds:
87
86
binary : build/sysroot/usr/bin/casaos-gateway-migration-tool
88
87
main : ./cmd/migration-tool
89
88
env :
90
- - CGO_ENABLED=1
91
89
- CC=aarch64-linux-gnu-gcc
92
90
ldflags :
93
91
- -s
@@ -96,6 +94,7 @@ builds:
96
94
tags :
97
95
- musl
98
96
- netgo
97
+ - osusergo
99
98
goos :
100
99
- linux
101
100
goarch :
@@ -104,7 +103,6 @@ builds:
104
103
binary : build/sysroot/usr/bin/casaos-gateway-migration-tool
105
104
main : ./cmd/migration-tool
106
105
env :
107
- - CGO_ENABLED=1
108
106
- CC=arm-linux-gnueabihf-gcc
109
107
ldflags :
110
108
- -s
@@ -113,6 +111,7 @@ builds:
113
111
tags :
114
112
- musl
115
113
- netgo
114
+ - osusergo
116
115
goos :
117
116
- linux
118
117
goarch :
0 commit comments