mirror of
https://github.com/SKUDONET/kube-nftlb.git
synced 2025-10-26 11:19:23 +00:00
[Improvement] go build now explicitly enables cgo and goos=linux
This commit is contained in:
parent
68253c63f9
commit
03da4a7223
@ -16,7 +16,7 @@ WORKDIR /kube-nftlb
|
||||
COPY . .
|
||||
|
||||
# Compile kube-nftlb-client using local dependencies
|
||||
RUN go build -mod=vendor ./cmd/kube-nftlb-client
|
||||
RUN GOOS=linux CGO_ENABLED=1 go build -tags 'osusergo netgo' -mod=vendor ./cmd/kube-nftlb-client
|
||||
|
||||
|
||||
###############################################
|
||||
|
||||
Loading…
Reference in New Issue
Block a user