lhotari commented on PR #3483: URL: https://github.com/apache/bookkeeper/pull/3483#issuecomment-1246447047
Putting compilers in a production docker image isn't usually recommended. There shouldn't be any need to add gcc and g++. See https://github.com/apache/pulsar/pull/14093 . When installing python3 and pip3, the way to prevent installing compilers is to use `apt-get -y install --no-install-recommends python3 python3-pip` for the installation. Blog post which explains the need to use `--no-install-recommends` when creating docker images: https://ubuntu.com/blog/we-reduced-our-docker-images-by-60-with-no-install-recommends -- 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]
