web3p / web3.php

A php interface for interacting with the Ethereum blockchain and ecosystem. Native ABI parsing and smart contract interactions.
MIT License
1.16k stars 542 forks source link

Docker `ganache` run error #233

Open tcolonel opened 2 years ago

tcolonel commented 2 years ago

Hi there.

Ill try to start your docker container and got this error:

$ docker-compose up -d php ganache
Building php
unknown flag: --iidfile
See 'docker build --help'.
ERROR: Service 'php' failed to build : Build failed

How I can fix it?

Thanks.

tcolonel commented 2 years ago

Anybody?

tcolonel commented 2 years ago

@dawidmierzwa95

Maybe there are any alternatives?

samyan commented 2 years ago

@dawidmierzwa95

Maybe there are any alternatives?

Use composer instead.

sc0Vu commented 2 years ago

I'm not sure what happened. Docker should work on most computer environment.

Which computer did you use?

tcolonel commented 2 years ago

@samyan

Use composer instead.

What u mean? Which command? Thanks.

@sc0Vu

I'm not sure what happened. Docker should work on most computer environment.

Which computer did you use?

What u mean about computer? U need specification or? Thanks.

samyan commented 2 years ago

@samyan

Use composer instead.

What u mean? Which command? Thanks.

@sc0Vu

I'm not sure what happened. Docker should work on most computer environment. Which computer did you use?

What u mean about computer? U need specification or? Thanks.

About alternative, i mean that you can install this library using composer in this way:

composer require sc0vu/web3.php
tcolonel commented 2 years ago

@samyan

Use composer instead.

What u mean? Which command? Thanks. @sc0Vu

I'm not sure what happened. Docker should work on most computer environment. Which computer did you use?

What u mean about computer? U need specification or? Thanks.

About alternative, i mean that you can install this library using composer in this way:

composer require sc0vu/web3.php

Now I see. And u think it will be work as expected? Thanks.

samyan commented 2 years ago

@samyan

Use composer instead.

What u mean? Which command? Thanks. @sc0Vu

I'm not sure what happened. Docker should work on most computer environment. Which computer did you use?

What u mean about computer? U need specification or? Thanks.

About alternative, i mean that you can install this library using composer in this way:

composer require sc0vu/web3.php

Now I see. And u think it will be work as expected? Thanks.

I have never used Docker. I'm using always Composer for my projects and it is very easy to manage dependencies with it.

sc0Vu commented 2 years ago

The dev-master worked, but it seems I didn't release library for a while.

Just release new one under this organization, try: composer require web3p/web3.php.

I'll improve this library later.