HoustonPutman commented on issue #294:
URL: https://github.com/apache/solr-operator/issues/294#issuecomment-884387080


   The difference between `distroless/base` and `distroless/static` is mainly 
for the purpose of [including 
`libc`](https://github.com/GoogleContainerTools/distroless/blob/main/base/README.md)
 for go programs that use `cgo`, [such as through the `net` 
package](https://pkg.go.dev/net#hdr-Name_Resolution).
   
   Since the Solr Operator is built with `CGO_ENABLED=false`, we do not need 
`libc`, so we should be find to base our image on `distroless/static`.
   
   Kubebuilder uses `distroless/static` by default, so we should be safe with 
DNS resolution and Certificates when communicating within Kubernetes.


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: [email protected]

For queries about this service, please contact Infrastructure at:
[email protected]



---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to