View source: R/write_dockerfile.R
write_dockerfileR | R Documentation |
Generates a Dockerfile based on sessioninfo::package_info()
write_dockerfileR(
write_file = TRUE,
org = "rocker",
image = "r-base:latest",
apt_packages = TRUE,
dir = "./",
filename = "Dockerfile"
)
write_file |
Boolean indicating whether to write the Dockerfile to disk |
org |
The organization, defaulting to "rocker" |
image |
The Docker image, defaulting to "r-base:latest" |
apt_packages |
Boolean to install standard apt packages (default: TRUE) |
dir |
Directory to save the Dockerfile (default: './') |
filename |
Name of the Dockerfile (default: 'Dockerfile') |
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.