hyperledger-archives / indy-sdk

indy-sdk
https://wiki.hyperledger.org/display/indy
Apache License 2.0
666 stars 737 forks source link

ci/indy-pool.dockerfile fails to build an image #2549

Closed conanoc closed 7 months ago

conanoc commented 2 years ago

docker build -f ci/indy-pool.dockerfile -t indy_pool . gets the following errors:

#10 30.46 Preparing to unpack .../python3-six_1.11.0_amd64.deb ...
#10 30.48 Error processing line 1 of /usr/local/lib/python3.5/dist-packages/distutils-precedence.pth:
#10 30.48 
#10 30.49   Traceback (most recent call last):
#10 30.49     File "/usr/lib/python3.5/site.py", line 173, in addpackage
#10 30.49       exec(line)
#10 30.49     File "<string>", line 1, in <module>
#10 30.49     File "/usr/local/lib/python3.5/dist-packages/_distutils_hack/__init__.py", line 194
#10 30.49       f'spec_for_{name}',
#10 30.49                        ^
#10 30.49   SyntaxError: invalid syntax
#10 30.49 
#10 30.49 Remainder of file ignored
#10 30.53 Unpacking python3-six (1.11.0) over (1.10.0-3) ...

We need to change the setuptools version to 'setuptools<=50.3.2' to fix this.