Skip to content

Commit a949cf0

Browse files
authored
[Build] pin down setuptools for build issues (#5281)
Pin down setuptools version to fix build issues. See: #5279 Signed-off-by: Zhenggen Xu <[email protected]>
1 parent c43a994 commit a949cf0

File tree

1 file changed

+4
-0
lines changed

1 file changed

+4
-0
lines changed

dockers/docker-snmp-sv2/Dockerfile.j2

+4
Original file line numberDiff line numberDiff line change
@@ -45,6 +45,10 @@ RUN locale-gen
4545
# Install up-to-date version of pip
4646
RUN curl https://bootstrap.pypa.io/get-pip.py | python3.6
4747

48+
# pin down setuptools version for issues to install sonic_ax_impl
49+
# see https://github.com/Azure/sonic-buildimage/issues/5279
50+
RUN python3.6 -m pip install setuptools==49.6.0
51+
4852
# Install pyyaml dependency for use by some plugins
4953
# Install smbus dependency for use by some plugins
5054
RUN python3.6 -m pip install --no-cache-dir \

0 commit comments

Comments
 (0)