Skip to content

Commit

Permalink
Merge pull request #3859 from dims/statically-link-cni-plugins
Browse files Browse the repository at this point in the history
Statically link CNI plugins
  • Loading branch information
k8s-ci-robot authored Feb 12, 2025
2 parents 16e2408 + 28751ec commit 53ff1fb
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion images/base/Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -176,7 +176,7 @@ RUN git clone --filter=tree:0 "${CNI_PLUGINS_CLONE_URL}" /cni-plugins \
&& eval "$(gimme "${GO_VERSION}")" \
&& export GOTOOLCHAIN="go${GO_VERSION}" \
&& mkdir ./bin \
&& export GOARCH=$TARGETARCH && export CC=$(target-cc) && export CGO_ENABLED=1 \
&& export GOARCH=$TARGETARCH && export CC=$(target-cc) && export CGO_ENABLED=0 \
&& go build -o ./bin/host-local -mod=vendor ./plugins/ipam/host-local \
&& go build -o ./bin/loopback -mod=vendor ./plugins/main/loopback \
&& go build -o ./bin/ptp -mod=vendor ./plugins/main/ptp \
Expand Down

0 comments on commit 53ff1fb

Please sign in to comment.