alibaba-cloud-csi-driver icon indicating copy to clipboard operation
alibaba-cloud-csi-driver copied to clipboard

build: rewrite dockerfile to distroless

Open huww98 opened this issue 1 month ago • 5 comments

What type of PR is this?

/kind cleanup

What this PR does / why we need it:

Only copy necessary binaries. Cross compile util-linux. init container is switched to busybox.

Which issue(s) this PR fixes:

Fixes #

Special notes for your reviewer:

amd64+arm64 only 128MiB

Note that the partition expansion is known broken. growpart is a shell script, but we don't include shell now.

Does this PR introduce a user-facing change?

NONE

Additional documentation e.g., KEPs (Kubernetes Enhancement Proposals), usage docs, etc.:


huww98 avatar Jun 27 '24 09:06 huww98