This repository has been archived by the owner on Oct 2, 2023. It is now read-only.
Shelless invocation for container_run_and_commit #2240
Labels
Can Close?
Will close in 30 days unless there is a comment indicating why not
🚀 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: