diff --git a/deployments/multus-daemonset-thick.yml b/deployments/multus-daemonset-thick.yml index 117c1f0e7..a0db0c430 100644 --- a/deployments/multus-daemonset-thick.yml +++ b/deployments/multus-daemonset-thick.yml @@ -199,9 +199,11 @@ spec: - name: install-multus-binary image: ghcr.io/k8snetworkplumbingwg/multus-cni:snapshot-thick command: - - "cp" - - "/usr/src/multus-cni/bin/multus-shim" - - "/host/opt/cni/bin/multus-shim" + - "/usr/src/multus-cni/bin/install_multus" + - "-d" + - "/host/opt/cni/bin" + - "-t" + - "thick" resources: requests: cpu: "10m" diff --git a/e2e/templates/multus-daemonset-thick.yml.j2 b/e2e/templates/multus-daemonset-thick.yml.j2 index 8fdc8e4c5..b39d0a3c7 100644 --- a/e2e/templates/multus-daemonset-thick.yml.j2 +++ b/e2e/templates/multus-daemonset-thick.yml.j2 @@ -168,9 +168,11 @@ spec: - name: install-multus-shim image: localhost:5000/multus:e2e command: - - "cp" - - "/usr/src/multus-cni/bin/multus-shim" - - "/host/opt/cni/bin/multus-shim" + - "/usr/src/multus-cni/bin/install_multus" + - "-d" + - "/host/opt/cni/bin" + - "-t" + - "thick" resources: requests: cpu: "10m" diff --git a/images/Dockerfile.thick b/images/Dockerfile.thick index ae170150a..30a898924 100644 --- a/images/Dockerfile.thick +++ b/images/Dockerfile.thick @@ -7,7 +7,7 @@ ADD . /usr/src/multus-cni RUN cd /usr/src/multus-cni && \ ./hack/build-go.sh -FROM debian:stable-slim +FROM gcr.io/distroless/base-debian11:latest LABEL org.opencontainers.image.source https://github.com/k8snetworkplumbingwg/multus-cni COPY --from=build /usr/src/multus-cni/bin /usr/src/multus-cni/bin COPY --from=build /usr/src/multus-cni/LICENSE /usr/src/multus-cni/LICENSE