Set a command to run in the image

set_run(dockerfile, command, blank = TRUE)

Arguments

dockerfile

a specification of the contents of the dockerfile

command

a command to run in the shell

blank

boolean indicating whether or not to add a trailing space

Value

dockerfile

Examples

dockerfile() %>% set_run("-R install.packages('ggplot2')")
#> $RUN #> [1] "-R install.packages('ggplot2')" #> #> $` ` #> [1] "" #>