View source: R/use_dockerfile.R
use_dockerfile | R Documentation |
Creates a Docker file to be used with the GitHub Actions (GHA) workflows distributed by rworkflows.
use_dockerfile(
save_dir = here::here(),
path = file.path(save_dir, "Dockerfile"),
base_image = construct_cont()[[1]],
force_new = FALSE,
show = FALSE,
verbose = TRUE
)
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. |
Path to Docker file.
path <- use_dockerfile(save_dir=tempdir())
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.