[Build] pin down setuptools for build issues (#5280)

See: https://github.com/Azure/sonic-buildimage/issues/5279

Signed-off-by: Zhenggen Xu <zxu@linkedin.com>
This commit is contained in:
zhenggen-xu 2020-09-01 16:29:31 -07:00 committed by GitHub
parent c909422abc
commit a99026acdc
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -33,6 +33,11 @@ RUN dpkg_apt() { [ -f $1 ] && { dpkg -i $1 || apt-get -y install -f; } || return
# Install up-to-date version of pip
RUN curl https://bootstrap.pypa.io/get-pip.py | python3.6
# pin down setuptools version for issues to install sonic_ax_impl
# see https://github.com/Azure/sonic-buildimage/issues/5279
RUN python3.6 -m pip install setuptools==49.6.0
RUN python3.6 -m pip install --no-cache-dir hiredis
# Install pyyaml dependency for use by some plugins