use_dockerfile {rworkflows} | R Documentation |
Use Dockerfile
Description
Creates a Docker file to be used with the GitHub Actions (GHA) workflows distributed by rworkflows.
Usage
use_dockerfile(
save_dir = here::here(),
path = file.path(save_dir, "Dockerfile"),
base_image = construct_cont()[[1]],
force_new = FALSE,
show = FALSE,
verbose = TRUE
)
Arguments
save_dir |
Directory to save the Docker file to. |
path |
Path to the Docker file. |
base_image |
Base Docker image to use. |
force_new |
If a Docker file already exists, overwrite it
(default: |
show |
Print the contents of the Docker file in the R console. |
verbose |
Print messages. |
Value
Path to Docker file.
Examples
path <- use_dockerfile(save_dir=tempdir())
[Package rworkflows version 1.0.1 Index]