Skip to content

Commit a99026a

Browse files
authored
[Build] pin down setuptools for build issues (#5280)
See: #5279 Signed-off-by: Zhenggen Xu <[email protected]>
1 parent c909422 commit a99026a

File tree

1 file changed

+5
-0
lines changed

1 file changed

+5
-0
lines changed

dockers/docker-snmp-sv2/Dockerfile.j2

+5
Original file line numberDiff line numberDiff line change
@@ -33,6 +33,11 @@ RUN dpkg_apt() { [ -f $1 ] && { dpkg -i $1 || apt-get -y install -f; } || return
3333

3434
# Install up-to-date version of pip
3535
RUN curl https://bootstrap.pypa.io/get-pip.py | python3.6
36+
37+
# pin down setuptools version for issues to install sonic_ax_impl
38+
# see https://github.com/Azure/sonic-buildimage/issues/5279
39+
RUN python3.6 -m pip install setuptools==49.6.0
40+
3641
RUN python3.6 -m pip install --no-cache-dir hiredis
3742

3843
# Install pyyaml dependency for use by some plugins

0 commit comments

Comments
 (0)