RIVA 2.17.0 docker images too large

Compared to the previous versions, the new docker images are too large:

nvcr.io/nvidia/riva/riva-speech   2.17.0                            48225b106ea4   8 days ago      29.4GB
nvcr.io/nvidia/riva/riva-speech   2.17.0-servicemaker               bc01a9a72312   13 days ago     22.8GB
nvcr.io/nvidia/riva/riva-speech   2.16.0                            0504743db049   3 months ago    13.8GB
nvcr.io/nvidia/riva/riva-speech   2.16.0-servicemaker               c06791583795   3 months ago    17GB
nvcr.io/nvidia/riva/riva-speech   2.15.0                            cfcbab6ac71c   6 months ago    13.1GB
nvcr.io/nvidia/riva/riva-speech   2.15.0-servicemaker               c598791d7d06   6 months ago    12GB

I also noticed that python3 in the container is partially broken:

root@b1ceb64f803b:/opt/riva# python3 -m pip --version
/usr/bin/python3: No module named pip
root@b1ceb64f803b:/opt/riva# apt update -qq
42 packages can be upgraded. Run 'apt list --upgradable' to see them.
root@b1ceb64f803b:/opt/riva# apt install python3-pip
Reading package lists... Done
Building dependency tree... Done
Reading state information... Done
python3-pip is already the newest version (22.0.2+dfsg-1ubuntu0.4).
The following packages were automatically installed and are no longer required:
  libbsd0 libcbor0.8 libedit2 libfido2-1 libmd0
Use 'apt autoremove' to remove them.
0 upgraded, 0 newly installed, 0 to remove and 42 not upgraded.
root@b1ceb64f803b:/opt/riva# apt install --reinstall python3-pip
Reading package lists... Done
Building dependency tree... Done
Reading state information... Done
The following packages were automatically installed and are no longer required:
  libbsd0 libcbor0.8 libedit2 libfido2-1 libmd0
Use 'apt autoremove' to remove them.
0 upgraded, 0 newly installed, 1 reinstalled, 0 to remove and 42 not upgraded.
Need to get 1305 kB of archives.
After this operation, 0 B of additional disk space will be used.
Get:1 http://archive.ubuntu.com/ubuntu jammy-updates/universe amd64 python3-pip all 22.0.2+dfsg-1ubuntu0.4 [1305 kB]
Fetched 1305 kB in 1s (1874 kB/s)      
debconf: unable to initialize frontend: Dialog
debconf: (No usable dialog-like program is installed, so the dialog based frontend cannot be used. at /usr/share/perl5/Debconf/FrontEnd/Dialog.pm line 78, <> line 1.)
debconf: falling back to frontend: Readline
(Reading database ... 39684 files and directories currently installed.)
Preparing to unpack .../python3-pip_22.0.2+dfsg-1ubuntu0.4_all.deb ...
Unpacking python3-pip (22.0.2+dfsg-1ubuntu0.4) over (22.0.2+dfsg-1ubuntu0.4) ...
Setting up python3-pip (22.0.2+dfsg-1ubuntu0.4) ...
root@b1ceb64f803b:/opt/riva# python3 -m pip --version
pip 22.0.2 from /usr/lib/python3/dist-packages/pip (python 3.10)
root@b1ceb64f803b:/opt/riva#
1 Like