-
Notifications
You must be signed in to change notification settings - Fork 135
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
Add "init" parameter #110
Comments
hi @misery, sorry, don't quite understand what exactly the command i think it's better to do it separately, for example in own Docker image. because i want to keep tool as simple as possible anyway, |
Well, most people uses docker images "as-is" and don't want to customize it with a separate docker images since it is much more easier to just deploy the image and add flags like environment variables or something like this to the configuration in portainer, rancher or even synology docker. So a "setup" function would help a lot here. |
there is one solution: you can use entrypoint in docker compose, and override default binary by own shell script like:
|
Did you tried your example? Seems I'm too stupid to geht it working. |
hm yes, it doesn't working, it ( need to think, I don't like the idea of and for |
Thank you very much for this tool. I really like it and use it in a docker container.
As it is a lot easier to use a vanilla container instead of a custom Dockerfile it would help if you add a parameter like
-init
. So it could be used to add additional packages or something like this.See my example here that adds a
/apk
path and-init apk
to call it once shell2http was started.The text was updated successfully, but these errors were encountered: