zhengruifeng commented on code in PR #42253: URL: https://github.com/apache/spark/pull/42253#discussion_r1281351440
########## dev/infra/Dockerfile: ########## @@ -73,3 +74,8 @@ RUN python3.9 -m pip install grpcio protobuf googleapis-common-protos grpcio-sta # Add torch as a testing dependency for TorchDistributor RUN python3.9 -m pip install torch torchvision --index-url https://download.pytorch.org/whl/cpu RUN python3.9 -m pip install torcheval + +# Uninstall unused packages +RUN $APT_REMOVE libgl1-mesa-dri +RUN apt-get autoremove --purge -y +RUN apt-get clean Review Comment: since this PR aims to uninstall pkgs, I would like to send another PR to following this ` rm -rf /var/lib/apt/lists/* ` guide -- 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] --------------------------------------------------------------------- To unsubscribe, e-mail: [email protected] For additional commands, e-mail: [email protected]
