sonic-buildimage/dockers/docker-sonic-p4rt
Saikrishna Arcot 932d0f5391
[202205] Remove apt package lists and make macro to clean up apt and python cache (#14377)
* Remove apt package lists and make macro to clean up apt and python cache

Remove the apt package lists (`/var/lib/apt/lists`) from the docker
containers. This saves about 100MB.

Also, make a macro to clean up the apt and python cache that can then be
used in all of the containers. This helps make the cleanup be consistent
across all containers.

Signed-off-by: Saikrishna Arcot <sarcot@microsoft.com>
2023-03-22 14:51:25 -07:00
..
critical_processes [PINS] Build P4RT container for PINS (#9083) 2021-12-07 11:11:25 -08:00
Dockerfile.j2 [202205] Remove apt package lists and make macro to clean up apt and python cache (#14377) 2023-03-22 14:51:25 -07:00
p4rt.sh [PINS] Build P4RT container for PINS (#9083) 2021-12-07 11:11:25 -08:00
start.sh [PINS] Build P4RT container for PINS (#9083) 2021-12-07 11:11:25 -08:00
supervisord.conf [PINS] Build P4RT container for PINS (#9083) 2021-12-07 11:11:25 -08:00