GoogleCloudPlatform / traffic-director-grpc-bootstrap

Apache License 2.0
20 stars 18 forks source link

Use distroless/static as base image #67

Closed ejona86 closed 1 month ago

ejona86 commented 1 month ago

This is to make scanning tools happy, that only know about a limited number of distros (b/366296183). Previously the image wasn't a proper OCI because it lacked os-release and such, but that also isn't the root of the problem. This new base image has ca-certificates, /tmp, and tzdata, none of which do we actually want to use. This appears to be the lowest-dependency base image understood by the scanning tool.

CC @arvindbr8