hyperledger-archives / aries-protocol-test-suite

Test Suite for testing protocol compliance of Aries Agents
https://wiki.hyperledger.org/display/aries
Apache License 2.0
25 stars 19 forks source link

`docker-compose build` instructon does not work #42

Open lalc opened 3 years ago

lalc commented 3 years ago

Followed the instructions in the read me file: https://github.com/hyperledger/aries-protocol-test-suite/blob/master/README.md

Running the docker-compose build results in the following error:

The following packages have unmet dependencies:
 indy-plenum : Depends: python3-orderedset (= 2.0) but 2.0.3 is to be installed
               Depends: python3-psutil (= 5.4.3) but 5.6.6 is to be installed
               Depends: python3-psutil (= 5.4.3) but 5.6.6 is to be installed
               Depends: python3-pympler (= 0.5) but 0.8 is to be installed
E: Unable to correct problems, you have held broken packages.
ERROR: Service 'ledger' failed to build : The command '/bin/sh -c apt-get update -y && apt-get install -y         python3-pyzmq=17.0.0         indy-plenum=${indy_plenum_ver}         indy-plenum=${indy_plenum_ver}         indy-node=${indy_node_ver}         python3-indy-crypto=${python3_indy_crypto_ver}         libindy-crypto=${indy_crypto_ver}         vim' returned a non-zero code: 100
smithbk commented 3 years ago

This is fixed in https://github.com/hyperledger/aries-protocol-test-suite/pull/43 You could go ahead and give it a try before it is merged if you want

lalc commented 3 years ago

Thanks @smithbk. We managed to fix it locally for now. Have used the one attached. Glad to test yours too.

docker-compose.yml.txt

smithbk commented 3 years ago

Hmm ... the fix is in ledger/dockerfile but it looks like you pasted apts/dockerfile above, so I'm a bit confused.

lalc commented 3 years ago

Here is the right one, more a fix we did to get this to build. Will check yours during the weekend.

dockerfile.txt