This pull request includes a small improvement for the Dockerfile, which should help improve the security of container and reduce the risk of potential attacks.
In detail:
I added --no-install-recommends to 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.
Hi,
This pull request includes a small improvement for the Dockerfile, which should help improve the security of container and reduce the risk of potential attacks.
In detail:
--no-install-recommends
to remove unnecessaryapt
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.