Skip to content

Remove entrypoint when running analyzer container

Oscar Tovar requested to merge handle-analyzers-with-custom-entrypoint into master

What does this MR do?

If an analyzer image contains an entrypoint like ["/bin/sh", "-c"], running then passing /analyzer --version will result in the following:

/bin/sh -c "/analyzer" "--version"

This MR has an example of a situation where this occurred. The feature that I'm working on requires loading ~/.bashrc which is the reason that["/bin/bash", "-ic"] is set as the ENTRYPOINT.

What are the relevant issue numbers?

N/A

Does this MR meet the acceptance criteria?

Edited by Oscar Tovar

Merge request reports