View source: R/create_dockerfile.R
Create a docker file teamplate
1 2 3 4 5 6 7 8 | create_dockerfile(
output = "Dockerfile",
output_path,
from = paste0("rocker/r-ver:", R.Version()$major, ".", R.Version()$minor),
maintainer = "your_name",
maintainer_email = "your_email@website.domain",
system_requirement = c("procps", "jq")
)
|
output |
Dockerfile |
output_path |
The path where Dockerfile will be saved (Default: working directory) |
from |
Base image |
maintainer |
Maintainer |
maintainer_email |
Maintainer email address |
system_requirement |
System requirement tools (Default: procps, jq) |
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.