resolveRunCmd
open override fun resolveRunCmd(baseCmd: String?, baseArgs: List<String>?, entrypoint: String, args: List<String>): String
Resolves the command to execute a baseCmd with baseArgs against entrypoint and args.
To be implemented in specific Dockerfile classes
This is meant to generalize for commands that wrap other commands, e.g. baseCmd='valgrind', baseArgs=listOf('--xml=yes'), entrypoint='./a.out', args=listOf('1')
Parameters
baseCmd
optional wrapping command
baseArgs
arguments for the optional wrapping command; only used if baseCmd is given
entrypoint
mandatory command for executing the run command of this Dockerfile
args
arguments for the mandatory command entrypoint; an empty list signifies having no arguments