Closed vinayverismart closed 1 year ago
Hi, So I ran into the same issue while doing make image. Now, since it’s a container and nothing is being directly installed on my bare metal I had to look up the exact config of setup.py which seems to be the one causing the issues. Fortunately, the dockerfile had the link to the codebase it was referring which is - https://github.com/ghoshbishakh/indy-plenum/blob/master/setup.py#L113 I have pasted the exact setup.py which was causing all the issues. Since no other alternative came to mind, I chose to manually install all the dependencies needed instead of using this file. So, the updated line 25 of the Dockerfile now looks like this:
RUN pip3 install jsonpickle==0.9.6 ujson==1.33 prompt_toolkit==0.57 pygments==2.2.0 rlp==0.5.1 sha3==0.2.1 leveldb ioflo==1.5.4 semver==2.7.9 base58==1.0.0 orderedset==2.0.3 sortedcontainers==1.5.7 psutil==5.6.6 importlib_metadata>=2.0 portalocker==0.5.7 libnacl==1.6.1 six==1.11.0 intervaltree==2.1.0 msgpack-python==0.4.6 python-rocksdb==0.6.9 python-dateutil==2.6.1 pympler==0.8 packaging==19.0 python-ursa==0.1.1 pyzmq==18.1.0
I used pip3 instead of pip because there was a strict requirement for python3 and I figured pip3 would work the best. So, running make image again now yielded no errors, and the docker image was successfully built.
After running "make image" when line
RUN cd indy-plenum && python3 setup.py install
is executed, I am getting this errorSteps to reproduce
Docker version 23.0.5, build bc4487a docker-compose version 1.29.2, build unknown