Dockerfile
objectR/utility-functions.R
docker_build.Rd
The method is implemented based on stevedore and includes some logging and defaults.
If a Dockerfile
object is given, it is saved as a Dockerfile to a temporary directory.
docker_build(x, tag, ...) # S3 method for character docker_build(x, tag = strsplit(tempfile(pattern = "containerit_", tmpdir = ""), "/")[[1]][2], the_dockerfile = "Dockerfile", ...) # S3 method for Dockerfile docker_build(x, tag = strsplit(tempfile(pattern = "containerit_test_", tmpdir = ""), "/")[[1]][2], use_workdir = FALSE, clean_up = TRUE, ...)
x | the path to a directory with a valid |
---|---|
tag | Name of the new image to be created |
... | Other arguments, passed to |
the_dockerfile | Name of the |
use_workdir | if a |
clean_up | if |
The id of the image