mirror of
https://github.com/k3s-io/kubernetes.git
synced 2026-01-05 07:27:21 +00:00
Merge pull request #44346 from mikedanese/build-static
Automatic merge from submit-queue (batch tested with PRs 41106, 44346, 44929, 44979, 45027) bazel: statically link dockerized components
This commit is contained in:
@@ -10,6 +10,12 @@ load(
|
||||
|
||||
go_binary(
|
||||
name = "kube-proxy",
|
||||
gc_linkopts = [
|
||||
"-linkmode",
|
||||
"external",
|
||||
"-extldflags",
|
||||
"-static",
|
||||
],
|
||||
library = ":go_default_library",
|
||||
linkstamp = "k8s.io/kubernetes/pkg/version",
|
||||
tags = ["automanaged"],
|
||||
|
||||
Reference in New Issue
Block a user