Skip to content

Commit

Permalink
fix: build CNI plugins statically linked
Browse files Browse the repository at this point in the history
They are used e.g. by `talosctl` when they run on the host which can be
not musl-based.

Signed-off-by: Andrey Smirnov <[email protected]>
  • Loading branch information
smira committed Jan 21, 2025
1 parent 5da83db commit 38749d1
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion cni/pkg.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,7 @@ steps:
- |
export PATH=${PATH}:${TOOLCHAIN}/go/bin
cd ${GOPATH}/src/
GOFLAGS="-ldflags=-s" /toolchain/bin/bash ./build_linux.sh
CGO_ENABLED=0 GOFLAGS="-ldflags=-s" /toolchain/bin/bash ./build_linux.sh
install:
- |
mkdir -p /rootfs/opt/cni/bin
Expand Down

0 comments on commit 38749d1

Please sign in to comment.