You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@solr.apache.org by "Cuong Bui (Jira)" <ji...@apache.org> on 2023/04/18 10:24:00 UTC
[jira] [Created] (SOLR-16752) Reduce attack surface and size for Docker image
Cuong Bui created SOLR-16752:
--------------------------------
Summary: Reduce attack surface and size for Docker image
Key: SOLR-16752
URL: https://issues.apache.org/jira/browse/SOLR-16752
Project: Solr
Issue Type: Improvement
Security Level: Public (Default Security Level. Issues are Public)
Components: Docker
Affects Versions: 8.11
Reporter: Cuong Bui
Hi,
I create this issue here as a replacement for the pull request on GitHub: https://github.com/apache/solr-docker/pull/15.
For summarization, the Dockerfiles should contain {{--no-install-recommends }} there is a {{apt-get install}} command. This should help improve the security of container and reduce the risk of potential attacks.
In detail, {{--no-install-recommends }} option helps remove unnecessary {{apt}} packages, that were not needed for the container's functionality. Not only can this change trim your image size but it also can also reduce the attack surface.
I hope that you find them useful. Please let me know if you have any concerns.
Thank you.
--
This message was sent by Atlassian Jira
(v8.20.10#820010)
---------------------------------------------------------------------
To unsubscribe, e-mail: issues-unsubscribe@solr.apache.org
For additional commands, e-mail: issues-help@solr.apache.org