You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Run the command without invoke /bin/sh. This would be particularly useful in the distroless project.
Description
In a dockerfile, we can run a command as RUN ["poetry", "install", "--no-cache"] where it runs the poetry binary directly.
Describe the solution you'd like
Use a 2d list for container_run_and_commit. If there is a 2d list, container_run_and_commit should execute the binary directly without invoking /bin/sh.
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.
Collaborators can add an assignee to keep this open indefinitely. Thanks for your contributions to rules_docker!
🚀 feature request
Relevant Rules
Run the command without invoke
/bin/sh
. This would be particularly useful in the distroless project.Description
In a dockerfile, we can run a command as
RUN ["poetry", "install", "--no-cache"]
where it runs thepoetry
binary directly.Describe the solution you'd like
Use a 2d list for
container_run_and_commit
. If there is a 2d list,container_run_and_commit
should execute the binary directly without invoking/bin/sh
.Describe alternatives you've considered
Cannot execute any binaries in a distroless setting.
The text was updated successfully, but these errors were encountered: