-
Notifications
You must be signed in to change notification settings - Fork 20.5k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
refactor Dockerfile #781
refactor Dockerfile #781
Conversation
|
System-testing shouldn't depend on the end-user docker image. I just checked how the image was being used, and the |
Updated the system-testing repo to account for this change, but will most probably create a different build for it later on. |
I was about to write that we care about users being able to use the interactive console as well. And ask about why on earth system-testing (or anyone) would need a git checkout and a set GOPATH in the container. |
I have reverted your PR because we need to agree on things before anything can be merged. |
system-testing uses the container from our repo to call various |
The |
The command line argument just needs to be updated to override the entrypoint and cmd, that's it. |
That would fix system testing. But the main question I'd like to resolve is who the Dockerfile in our repo is for. |
Adding |
We agreed earlier it was for end-users, hence using supervisor by default. |
But who are those end users you think of? |
Whoever wants to quickly try ethereum, either locally or running it for long periods of time on a server, this caters to both. |
It also doesn't prevent its use in system-testing, at all, besides a few adjustments. And as I said earlier, and you seem to agree on that too, a different Dockerfile would be better suited. |
Now can you please revert your revert? It didn't fix anything for one, and I'm making the necessary adjustments to system-testing. |
At this point, the only thing I'm worried about is people not being able to use
With the old container, that one was:
I think this use of the container should be supported. |
Can you confirm that this still works? It doesn't really matter how long the command is. |
That'd be |
cool |
Now we can merge it. |
Thank you |
Im getting now the error msg: my docker-compose.yaml file: main:
image: ethereum/client-go
restart: on-failure
volumes:
- ./data:/root/.ethereum
command: --nat "extip:$myPublicIp" --rpc --rpcaddr="0.0.0.0" --rpccorsdomain="*" --maxpeers 100 --natspec
ports:
- "30303:30303"
- "8545:8545"
entrypoint: geth i will investigate this problem when im at home again. ps: i also dislike the "nice" supervisord idea. |
Following discussion in #747, reduces size to ~350 MB, saving 811 MB over the original size. Also using supervisord for a more manageable container. Logs are sent to
/var/log/geth.log
and/var/log/geth.err
within the container.