-
Notifications
You must be signed in to change notification settings - Fork 285
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
Sugestion - minimize docker's entrypoint #2819
Comments
Thanks for opening this issue! A maintainer will review this in the next few days and explicitly select labels so you know what's going on. If no reviewer appears after a week, a reminder will be sent out. |
The |
This issue has been closed. If you wish to re-open it please provide additional information. |
@faustbrian it's like you're so defensive of current settings that you don't even consider of making anything better. In the files above I showed you that the Core directories are in node user's folder and can be deleted by node + it all can be done inside dockerfile. |
Let's move those lines https://github.com/ArkEcosystem/core/blob/master/docker/production/entrypoint.sh#L4-L7 into dockerfile, since they have to run anyway?
Also I would suggest remove that line - https://github.com/ArkEcosystem/core/blob/master/docker/production/Dockerfile#L15 as I don't need to have sudo for
relay
, and it works fine for me now.I suspect that with a little tweaking we can avoid sudo for forger as well
The text was updated successfully, but these errors were encountered: