scrtlabs / discovery-docker-network

Docker Network for the Discovery release of the Enigma Protocol
https://enigma.co
GNU Affero General Public License v3.0
21 stars 2 forks source link

enigma-contract dockerfile fails running #4

Closed elichai closed 5 years ago

elichai commented 5 years ago

Hi, while trying to run the integration tests, it couldn't find launch_ganache.bash.

It looks like the default user in the node docker is node and the dockerfile copies the files into /root I could fix this by adding USER root to the dockerfile, but this doesn't makes sense to me because otherwise it should have never work.

What am I missing? @lacabra

lacabra commented 5 years ago

Please make sure you are running on the latest version from github on the develop branch, and that you are not using out-of-date cached images for those containers.

Here is launch_ganache.bash, and here is where docker copies it over the image.

From the looks of it, it seems that you are indeed on the latest commit on the develop branch of discovery-integration-tests repo, but you are using an older image for the contract repo. Issue the following command to update: docker-compose build contract and that should fix it.

elichai commented 5 years ago

Yep. this seems to be it. after pruning all my docker images, volumes and networks It worked.