From 7abf7cf50464d0d1fd660c97d70f28065b7607f4 Mon Sep 17 00:00:00 2001 From: panbingkun Date: Sun, 28 Apr 2024 10:00:52 +0800 Subject: [PATCH] Check installed packages on ubuntu 22.04 --- dev/infra/Dockerfile | 1 + 1 file changed, 1 insertion(+) diff --git a/dev/infra/Dockerfile b/dev/infra/Dockerfile index cdaa2f8b7c094..3d643a9c33599 100644 --- a/dev/infra/Dockerfile +++ b/dev/infra/Dockerfile @@ -138,6 +138,7 @@ RUN python3.12 -m pip install $BASIC_PIP_PKGS $CONNECT_PIP_PKGS lxml && \ python3.12 -m pip cache purge # Remove unused installation packages to free up disk space +RUN apt list --installed RUN apt-get remove --purge -y \ '^aspnet.*' '^dotnet-.*' '^llvm-.*' 'php.*' '^mongodb-.*' \ snapd google-chrome-stable microsoft-edge-stable firefox \