Skip to content

Conversation

@HoustonPutman
Copy link
Contributor

@HoustonPutman HoustonPutman commented Jul 21, 2021

Resolves #294

I reached my limit of docker scan for this month, but the base image has no vulnerabilities, so we should be down to 2 given the vulnerabilities listed for the solr-operator binary here:

https://artifacthub.io/packages/helm/apache-solr/solr-operator?modal=security-report

The difference between distroless/base and distroless/static is mainly for the purpose of including libc for go programs that use cgo, such as through the net package.

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.

@HoustonPutman HoustonPutman merged commit e23ff0a into apache:main Jul 21, 2021
@HoustonPutman HoustonPutman deleted the base-image branch July 21, 2021 18:09
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Use a more secure base-image for the Solr Operator docker image

1 participant