sonic-buildimage/dockers/docker-sonic-restapi
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 [dockers] Update critical_processes file syntax (#4831) 2020-06-25 21:18:21 -07: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
restapi.sh Update conf DB with CA cert & rename ca_crt field (#5448) 2020-09-25 09:20:09 -07:00
start.sh [docker-restapi]: use service dependency in supervisord to start services 2020-05-22 11:01:28 -07:00
supervisord.conf [restapi]: Don't use python/python2 for restapi start scripts (#10285) 2022-03-22 18:34:42 -07:00