dock_from_desc | R Documentation |
Create a Dockerfile from a DESCRIPTION
dock_from_desc(
path = "DESCRIPTION",
FROM = paste0("rocker/r-ver:", R.Version()$major, ".", R.Version()$minor),
AS = NULL,
sysreqs = TRUE,
repos = c(CRAN = "https://cran.rstudio.com/"),
expand = FALSE,
update_tar_gz = TRUE,
build_from_source = TRUE,
extra_sysreqs = NULL
)
path |
path to the DESCRIPTION file to use as an input. |
FROM |
The FROM of the Dockerfile. Default is
FROM rocker/r-ver: |
AS |
The AS of the Dockerfile. Default it NULL. |
sysreqs |
boolean. If TRUE, the Dockerfile will contain sysreq installation. |
repos |
character. The URL(s) of the repositories to use for |
expand |
boolean. If |
update_tar_gz |
boolean. If |
build_from_source |
boolean. If |
extra_sysreqs |
character vector. Extra debian system requirements. Will be installed with apt-get install. |
Dockerfile
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.