You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Statically compiled applications (Go) that do not require libc can use the gcr.io/distroless/static image, [...]
[...]
Most other applications (and Go apps that require libc/cgo) should start with gcr.io/distroless/base, [...]
What problem are you facing?
This function is using
distroless/base-debian
as its base image (see here), even though it is quite explicitly not usingglibc
:ENV CGO_ENABLED=0
The documentation of distroless says the following:
Also see related issue in the
crossplane/function-template-go
repository: crossplane/function-template-go#87.How could this Function help solve your problem?
It would make sense to change the base image to
gcr.io/distroless/static
, allowing smaller and safer images.The text was updated successfully, but these errors were encountered: