-
Notifications
You must be signed in to change notification settings - Fork 693
Need to specify a different entrypoint #1649
Comments
I can do a PR to support this but not sure if someone will accept it. Any guidance @mattmoor ? |
if i'm understanding your goal, you want to define a rule that is the equivalent of this docker command line:
there isn't a way to accomplish this with the |
There would be a way to accomplish this with |
@smukherj1 can you guide here ? Would such a PR be acceptable ? |
This issue has been automatically marked as stale because it has not had any activity for 180 days. It will be closed if no further activity occurs in 30 days. |
This issue was automatically closed because it went 30 days without a reply since it was labeled "Can Close?" |
Can this be reopened? Is passing through |
Although an easy workaround would be to change it in a deployment spec, I'd rather the wrapper script be controlled through environment variables so any deployment args apply just to the underlying binary. |
I have a which is kind of like https://github.com/hashicorp/envconsul
I want this to be the entrypoint of the language image. So let's say I make a
go_image
I want that the entry point is theenvconsul
binary and the command is thego_image.binary
(basically the actual binary that my code produces).The only way I have found is to copy over this part and add an argument for
entrypoint
https://github.com/bazelbuild/rules_docker/blob/master/go/image.bzl#L123
What is the best way to achieve this?
The text was updated successfully, but these errors were encountered: