diff --git a/Dockerfile b/Dockerfile index 2e6e50e..daec1cd 100644 --- a/Dockerfile +++ b/Dockerfile @@ -54,7 +54,7 @@ ARG CNI_PLUGIN_VERSION=v1.0.0-rc1 RUN git clone -c 'advice.detachedHead=false' --branch=${CNI_PLUGIN_VERSION} https://github.com/containernetworking/plugins /go/src/github.com/containernetworking/plugins WORKDIR /go/src/github.com/containernetworking/plugins RUN set -ex; \ - for PLUGINDIR in plugins/ipam/host-local plugins/main/loopback plugins/main/bridge plugins/meta/portmap; do \ + for PLUGINDIR in plugins/ipam/host-local plugins/main/loopback plugins/main/bridge plugins/meta/portmap plugins/meta/firewall plugins/meta/tuning; do \ PLUGINBIN=/usr/libexec/cni/$(basename $PLUGINDIR); \ CGO_ENABLED=0 go build -o $PLUGINBIN -ldflags "-s -w -extldflags '-static'" ./$PLUGINDIR; \ [ "$(ldd $PLUGINBIN | grep -Ev '^\s+ldd \(0x[0-9a-f]+\)$' | wc -l)" -eq 0 ] || (ldd $PLUGINBIN; false); \