sonic-buildimage/dockers/docker-base-stretch
Joe LeVeque 7bf05f7f4f
[supervisor] Install vanilla package once again, install Python 3 version in Buster container (#5546)
**- Why I did it**

We were building a custom version of Supervisor because I had added patches to prevent hangs and crashes if the system clock ever rolled backward. Those changes were merged into the upstream Supervisor repo as of version 3.4.0 (http://supervisord.org/changes.html#id9), therefore, we should be able to simply install the vanilla package via pip. This will also allow us to easily move to Python 3, as Python 3 support was added in version 4.0.0.

**- How I did it**

- Remove Makefiles and patches for building supervisor package from source
- Install Python 3 supervisor package version 4.2.1 in Buster base container
    - Also install Python 3 version of supervisord-dependent-startup in Buster base container
- Debian package installed binary in `/usr/bin/`, but pip package installs in `/usr/local/bin/`, so rather than update all absolute paths, I changed all references to simply call `supervisord` and let the system PATH find the executable to prevent future need for changes just in case we ever need to switch back to build a Debian package, then we won't need to modify these again.
- Install Python 2 supervisor package >= 3.4.0 in Stretch and Jessie base containers
2020-11-19 23:41:32 -08:00
..
etc Revert "[docker-base]: Rate limit priority INFO and lower in syslog" (#5763) 2020-11-02 08:49:40 -08:00
root Define a base Docker image and config-engine docker image based on Debian Stretch (#2076) 2019-01-30 23:05:52 -08:00
Dockerfile.j2 [supervisor] Install vanilla package once again, install Python 3 version in Buster container (#5546) 2020-11-19 23:41:32 -08:00
dpkg_01_drop Change the dpkg default behavior in slave, and docker-base, in order to prevent prompt (#3879) 2019-12-12 18:46:35 -08:00
LICENSE Define a base Docker image and config-engine docker image based on Debian Stretch (#2076) 2019-01-30 23:05:52 -08:00
no_install_recommend_suggest Define a base Docker image and config-engine docker image based on Debian Stretch (#2076) 2019-01-30 23:05:52 -08:00
no-check-valid-until [apt] Instruct apt-get to NOT check the "Valid Until" date in Release files (#3973) 2020-01-07 15:52:49 -08:00
sources.list [build]: SONiC buildimage ARM arch support (#2980) 2019-07-25 22:06:41 -07:00
sources.list.arm64 [build][arm] Adding a backport source to arm to resolve docker-base-stretch install redis-tools=5:5.0.3-3~bpo9+2 failure issue (#4950) 2020-07-15 12:23:20 -07:00
sources.list.armhf [build][arm] Adding a backport source to arm to resolve docker-base-stretch install redis-tools=5:5.0.3-3~bpo9+2 failure issue (#4950) 2020-07-15 12:23:20 -07:00